File size: 1,948 Bytes
8aafeb2
 
 
 
 
 
 
3c68544
8aafeb2
3c68544
8aafeb2
 
 
3c68544
8aafeb2
 
 
3c68544
 
8aafeb2
 
3c68544
 
8aafeb2
3c68544
8aafeb2
 
 
 
 
 
3c68544
8aafeb2
3c68544
8aafeb2
 
 
 
3c68544
8aafeb2
 
 
 
 
 
 
3c68544
 
8aafeb2
3c68544
8aafeb2
 
 
 
 
 
 
3c68544
8aafeb2
 
 
 
 
 
3c68544
 
8aafeb2
 
 
 
 
 
 
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
import { createTheme } from '@mui/material/styles';

const theme = createTheme({
  shape: {
    borderRadius: 2, // Sharp corners (reduced from default 4)
  },
  palette: {
    mode: 'light',
    primary: {
      main: '#212121', // Dark grey for primary actions
      contrastText: '#ffffff',
    },
    secondary: {
      main: '#424242', // Slightly lighter grey for secondary actions
      contrastText: '#ffffff',
    },
    background: {
      default: '#f5f5f5', // Light grey background
      paper: '#ffffff',   // White background for cards/paper
    },
    text: {
      primary: '#212121', // Dark grey for primary text
      secondary: '#616161', // Medium grey for secondary text
    },
    divider: '#e0e0e0', // Light grey for dividers
  },
  components: {
    MuiButton: {
      styleOverrides: {
        root: {
          textTransform: 'none',
          borderRadius: '2px', // Sharp corners for buttons
          fontWeight: 500,
          padding: '6px 16px',
        },
        contained: {
          boxShadow: 'none',
          '&:hover': {
            boxShadow: '0px 2px 4px -1px rgba(0,0,0,0.2), 0px 4px 5px 0px rgba(0,0,0,0.14), 0px 1px 10px 0px rgba(0,0,0,0.12)',
          },
        },
      },
    },
    MuiCard: {
      styleOverrides: {
        root: {
          borderRadius: '2px', // Sharp corners for cards
          boxShadow: '0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24)',
          '&:hover': {
            boxShadow: '0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23)',
          },
        },
      },
    },
    MuiPaper: {
      styleOverrides: {
        root: {
          borderRadius: '2px', // Sharp corners for paper components
        },
      },
    },
    MuiAppBar: {
      styleOverrides: {
        root: {
          borderRadius: 0, // No rounded corners for app bar
          boxShadow: '0 2px 4px rgba(0,0,0,0.1)',
        },
      },
    },
  },
});

export default theme;