update,
This commit is contained in:
37
vinniesniper-54816/task1/project/frontend/config/theme.js
Normal file
37
vinniesniper-54816/task1/project/frontend/config/theme.js
Normal file
@@ -0,0 +1,37 @@
|
||||
import { createTheme } from "@mui/material/styles";
|
||||
import { red } from "@mui/material/colors";
|
||||
|
||||
// Create a theme instance.
|
||||
const theme = createTheme({
|
||||
palette: {
|
||||
primary: {
|
||||
main: "#556cd6",
|
||||
},
|
||||
secondary: {
|
||||
main: "#19857b",
|
||||
},
|
||||
error: {
|
||||
main: red.A400,
|
||||
},
|
||||
},
|
||||
components: {
|
||||
MuiTypography: {
|
||||
defaultProps: {
|
||||
variantMapping: {
|
||||
h1: "h2",
|
||||
h2: "h2",
|
||||
h3: "h2",
|
||||
h4: "h2",
|
||||
h5: "h2",
|
||||
h6: "h2",
|
||||
subtitle1: "h2",
|
||||
subtitle2: "h2",
|
||||
body1: "span",
|
||||
body2: "span",
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
export default theme;
|
Reference in New Issue
Block a user