
Security News
PEP 810 Proposes Explicit Lazy Imports for Python 3.15
An opt-in lazy import keyword aims to speed up Python startups, especially CLIs, without the ecosystem-wide risks that sank PEP 690.
@img-arena/img-ui-mui-theme
Advanced tools
Package for MUI Theme Provider with predefined styles in MUI Palette for IMGArena front-end teams
Package with custom hook for MUI Theme Provider with predefined styles in MUI Palette for IMGArena front-end teams.
To install a package simply run:
npm i @img-arena/img-ui-mui-theme
// or
yarn add @img-arena/img-ui-mui-theme
For the components to work correctly it is crutial that the part of the app using them is wrapped in provider. (example for index.tsx
in CRA). Also for the styles to work correctly import them at the root level (for CRA it's index.tsx
file)
/* ... other imports */
import { ThemeProvider } from "@mui/material";
import { useImgTheme } from "@img-arena/img-ui-mui-theme";
function App() {
const { imgTheme } = useImgTheme({});
return <ThemeProvider theme={imgTheme}>yours layout</ThemeProvider>;
}
export default App;
To get started you have to run those two commands in separate terminals, but before that you have to install all dependencies.
To install dependencies run:
npm install npm-link-shared -g // skip this step if you have this already installed (to be deprecated)
npm run prestart
Building a package and watching for changes:
npm run build:watch
Starting a preview development server:
npm run dev:example
FAQs
Package for MUI Theme Provider with predefined styles in MUI Palette for IMGArena front-end teams
The npm package @img-arena/img-ui-mui-theme receives a total of 12 weekly downloads. As such, @img-arena/img-ui-mui-theme popularity was classified as not popular.
We found that @img-arena/img-ui-mui-theme demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 78 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
An opt-in lazy import keyword aims to speed up Python startups, especially CLIs, without the ecosystem-wide risks that sank PEP 690.
Security News
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.