-
Notifications
You must be signed in to change notification settings - Fork 12
/
Theme.jsx
42 lines (38 loc) · 1.09 KB
/
Theme.jsx
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
import {createMuiTheme} from '@material-ui/core/styles';
import blueGrey from '@material-ui/core/colors/blueGrey';
const theme = createMuiTheme({
palette: {
primary: {
main: blueGrey[50],
},
secondary: {
main: "#66fcf1",
// dark: will be calculated from palette.secondary.main,
},
background: blueGrey[900],
secondaryBackground: blueGrey[800],
hoverBackground: blueGrey[700],
appBarBackground: blueGrey[900],
drawerBackground: blueGrey[900],
behindBackground: blueGrey[600],
// Used by `getContrastText()` to maximize the contrast between
// the background and the text.
headingColor: "#ffffff",
contrastThreshold: 3,
// Used by the functions below to shift a color's luminance by approximately
// two indexes within its tonal palette.
// E.g., shift from Red 500 to Red 300 or Red 700.
tonalOffset: 0.2,
overrides: {
MuiStepLabel: {
label: {
color: blueGrey[50],
'&$active': {
color: blueGrey[50]
},
},
},
},
},
});
export default theme;