File size: 1,818 Bytes
b24b684
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
import { createTheme } from "@mui/material/styles";

const theme = createTheme({
  palette: {
    mode: "light",
    primary: { main: "#4F46E5", dark: "#4338CA", light: "#EEF2FF" },
    secondary: { main: "#F59E0B" },
    success: { main: "#16A34A" },
    warning: { main: "#F59E0B" },
    error: { main: "#DC2626" },
    info: { main: "#2563EB" },
    background: { default: "#F6F7FB", paper: "#FFFFFF" },
    text: { primary: "#1E293B", secondary: "#64748B" },
    divider: "#E2E8F0",
  },
  typography: {
    fontFamily: "Inter, system-ui, sans-serif",
    h1: { fontFamily: "Plus Jakarta Sans", fontWeight: 800 },
    h2: { fontFamily: "Plus Jakarta Sans", fontWeight: 700 },
    h3: { fontFamily: "Plus Jakarta Sans", fontWeight: 700 },
    h4: { fontFamily: "Plus Jakarta Sans", fontWeight: 700, fontSize: "1.5rem" },
    h5: { fontFamily: "Plus Jakarta Sans", fontWeight: 700, fontSize: "1.2rem" },
    h6: { fontFamily: "Plus Jakarta Sans", fontWeight: 700, fontSize: "1.05rem" },
    button: { textTransform: "none", fontWeight: 600 },
  },
  shape: { borderRadius: 14 },
  components: {
    MuiCard: {
      defaultProps: { elevation: 0 },
      styleOverrides: {
        root: { border: "1px solid #E2E8F0", borderRadius: 18 },
      },
    },
    MuiPaper: {
      styleOverrides: { rounded: { borderRadius: 18 } },
    },
    MuiButton: {
      defaultProps: { disableElevation: true },
      styleOverrides: { root: { borderRadius: 12, paddingInline: 18 } },
    },
    MuiTextField: { defaultProps: { size: "small" } },
    MuiChip: { styleOverrides: { root: { fontWeight: 600 } } },
    MuiTableCell: {
      styleOverrides: {
        head: { fontWeight: 700, color: "#64748B", background: "#F8FAFC" },
      },
    },
  },
});

export default theme;