finish nuking theme

This commit is contained in:
Alex Holliday committed 2025-12-08 21:10:29 +00:00
1 parent dd463bb60b
commit b6c699c141
10 files changed
+92 -105

No files matched your search

-77
View File
@@ -1,5 +1,3 @@
import { lighten, darken } from "@mui/material/styles";
const typographyBase = 13;
export const typographyLevels = {
@@ -12,100 +10,25 @@ export const typographyLevels = {
};
export const colors = {
offWhite: "#FEFEFE",
offBlack: "#131315",
gray0: "#FDFDFD",
gray10: "#F4F4FF",
gray50: "#F9F9F9",
gray100: "#F3F3F3",
gray200: "#EFEFEF",
gray250: "#DADADA",
gray500: "#A2A3A3",
gray700: "#313131",
gray900: "#1c1c1c",
blueGray50: "#E8F0FE",
blueGray400: "#8b9dc3",
blueGray450: "#7C8BA1",
blueGray500: "#475467",
blueGray600: "#344054",
blueGray800: "#1C2130",
blueGray900: "#515151",
blueBlueWave: "#1570EF",
lightBlueWave: "#CDE2FF",
green100: "#67cd78",
green200: "#4B9B77",
green400: "#079455",
green700: "#026513",
orange100: "#FD8F22",
orange200: "#D69A5D",
orange600: "#9B734B",
orange700: "#884605",
red100: "#F27C7C",
red400: "#D92020",
red600: "#9B4B4B",
red700: "#980303",
};
export const lightPalette = {
primary: {
main: colors.blueBlueWave,
light: lighten(colors.blueBlueWave, 0.4),
dark: darken(colors.blueBlueWave, 0.2),
},
secondary: {
main: colors.gray200,
light: colors.lightBlueWave,
dark: lighten(colors.gray200, 0.1),
},
// Tertiary is a custom helper palette
success: {
main: colors.green700,
contrastText: colors.offWhite,
light: lighten(colors.green700, 0.35),
dark: darken(colors.green700, 0.2),
},
warning: {
main: colors.orange700,
contrastText: colors.offWhite,
light: lighten(colors.orange700, 0.4),
dark: darken(colors.orange700, 0.2),
},
error: {
main: colors.red700,
contrastText: colors.offWhite,
light: lighten(colors.red700, 0.35),
dark: darken(colors.red700, 0.2),
},
};
export const darkPalette = {
primary: {
main: colors.blueBlueWave,
light: lighten(colors.blueBlueWave, 0.4),
dark: darken(colors.blueBlueWave, 0.2),
},
secondary: {
main: colors.gray700,
light: colors.lightBlueWave,
dark: lighten(colors.gray700, 0.1),
},
// Tertiary is a custom helper palette
success: {
main: colors.green100,
contrastText: colors.offBlack,
light: lighten(colors.green100, 0.25),
dark: darken(colors.green100, 0.15),
},
warning: {
main: colors.orange200,
contrastText: colors.offBlack,
light: lighten(colors.orange200, 0.25),
dark: darken(colors.orange200, 0.15),
},
error: {
main: colors.red100,
contrastText: colors.offBlack,
light: lighten(colors.red100, 0.25),
dark: darken(colors.red100, 0.15),
},
};
+3
View File
@@ -104,6 +104,9 @@ export const theme = (mode: string, palette: any) =>
},
},
},
MuiButton: {
styleOverrides: {},
},
},
shape: {
borderRadius: 2,