Files
Checkmate/Client/src/Utils/Theme.js
T

76 lines
1.6 KiB
JavaScript
Raw Normal View History

2024-05-06 12:10:16 -07:00
import { createTheme } from "@mui/material";
2024-06-25 17:38:40 -04:00
//box shadow
const shadow =
"0px 4px 24px -4px rgba(16, 24, 40, 0.08), 0px 3px 3px -3px rgba(16, 24, 40, 0.03)";
2024-05-14 11:06:34 +03:30
// Global Font Family
const fontFamilyDefault =
'"Inter","system-ui", "Avenir", "Helvetica", "Arial", sans-serif';
2024-05-14 11:06:34 +03:30
2024-05-06 12:10:16 -07:00
const theme = createTheme({
typography: { fontFamily: fontFamilyDefault, fontSize: 13 },
2024-05-06 12:10:16 -07:00
palette: {
2024-08-26 19:54:48 -04:00
common: { main: "#1570ef" },
text: {
primary: "#1c2130",
secondary: "#344054",
tertiary: "#475467",
accent: "#838c99",
},
background: {
2024-08-27 12:18:25 -04:00
main: "#FFFFFF",
alt: "#FCFCFD",
2024-08-26 19:54:48 -04:00
fill: "#F4F4F4",
accent: "#f9fafb",
},
border: { light: "#eaecf0", dark: "#d0d5dd" },
2024-08-27 12:18:25 -04:00
info: {
text: "#475467",
main: "#475467",
bg: "#ffffff",
light: "#ffffff",
border: "#D0D5DD",
},
2024-08-28 14:42:38 -04:00
success: {
text: "#079455",
main: "#17b26a",
light: "#d4f4e1",
bg: "#ecfdf3",
},
2024-08-27 12:18:25 -04:00
error: {
text: "#f04438",
main: "#d32f2f",
light: "#fbd1d1",
bg: "#f9eced",
border: "#f04438",
},
warning: {
text: "#DC6803",
main: "#fdb022",
light: "#fffcf5",
bg: "#ffecbc",
border: "#fec84b",
},
2024-08-26 19:54:48 -04:00
unresolved: { main: "#4e5ba6", light: "#e2eaf7", bg: "#f2f4f7" },
other: {},
2024-08-28 18:15:48 -04:00
primary: {
main: "#1570EF",
},
secondary: {
main: "#475467",
},
tertiary: {
main: "#475467",
},
},
2024-08-27 12:18:25 -04:00
spacing: 2,
components: {},
shape: {
2024-08-27 12:18:25 -04:00
borderRadius: 2,
2024-06-26 19:06:10 -04:00
borderThick: 2,
2024-06-25 17:38:40 -04:00
boxShadow: shadow,
2024-05-06 12:10:16 -07:00
},
});
export default theme;