-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy paththeme.ts
53 lines (50 loc) · 938 Bytes
/
theme.ts
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
import { red } from '@mui/material/colors'
import { createTheme } from '@mui/material/styles'
//Augmentation allows for custom color additions to theme (TypeScript specific)
declare module '@mui/material/styles' {
interface Palette {
accent1: Palette['primary']
}
interface PaletteOptions {
accent1: PaletteOptions['primary']
}
}
// Create a theme instance.
const theme = createTheme({
palette: {
primary: {
main: '#1B2B7B',
},
secondary: {
main: '#F79234',
},
error: {
main: red.A400,
},
accent1: {
main: '#007bff',
},
},
typography: {
fontFamily: 'Montserrat',
},
components: {
MuiAppBar: {
styleOverrides: {
root: {
backgroundColor: '#080d26',
},
},
},
},
breakpoints: {
values: {
xs: 0,
sm: 780,
md: 900,
lg: 1200,
xl: 1536,
},
},
})
export default theme