-
-
Notifications
You must be signed in to change notification settings - Fork 284
/
theme.ts
56 lines (52 loc) · 1 KB
/
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
54
55
56
import { createMuiTheme } from '@material-ui/core'
import { amber } from '@material-ui/core/colors'
const baseTheme = {
typography: {
allVariants: {
userSelect: 'none',
},
body1: {
fontSize: '0.9rem',
},
},
}
const darkTheme = createMuiTheme({
...(baseTheme as any),
palette: {
type: 'dark',
},
})
const lightTheme = createMuiTheme({
...(baseTheme as any),
palette: {
type: 'light',
background: {
default: '#fafafa',
},
primary: {
// main: '#931e2e',
// main: '#172A3A',
// main: '#004346',
// main: '#7D4F50',
// main: '#C14953',
// main: '#4C4C47',
// main: '#2D2D2A',
// main: '#37000A',
// main: '#56000F',
// main: '#89023E',
// main: '#30343F',
main: '#335C67', // ⭐️
},
secondary: amber,
// secondary: {
// main: '#E09F3E',
// },
action: {
disabledBackground: '#fafafa',
},
},
})
export const themes = {
lightTheme,
darkTheme,
}