Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
mui-app-theme
Advanced tools
npm install mui-app-theme
// MyColors.ts
import { AppThemeColors } from "mui-app-theme";
export class MyColors extends AppThemeColors {
constructor() {
super();
this.primary = {
main: "rgba(33, 33, 33)",
hover: "rgba(66, 66, 66)",
text: "rgba(189, 189, 189, 0.87)",
outline: {
main: "rgba(255, 255, 255)",
hover: "rgba(0, 0, 0, 0.08)",
},
disabled: {
main: "rgba(238, 238, 238)",
text: "rgba(189, 189, 189, 0.87)",
},
};
}
}
// App.tsx
import { createAppTheme } from "mui-app-theme";
import React, { FunctionComponent } from "react";
import { ThemeProvider } from "@material-ui/styles";
import { MyColors } from "./MyColors";
const App: FunctionComponent = () => {
const appTheme = createAppTheme(new MyColors());
return (
<ThemeProvider theme={appTheme}>
{
// children
}
</ThemeProvider>
);
};
FAQs
Allow to override material ui theme colors
The npm package mui-app-theme receives a total of 11 weekly downloads. As such, mui-app-theme popularity was classified as not popular.
We found that mui-app-theme demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.