-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy paththeme.ts
More file actions
35 lines (33 loc) · 822 Bytes
/
theme.ts
File metadata and controls
35 lines (33 loc) · 822 Bytes
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
import merge from 'lodash.merge';
import { createMuiTheme } from '@material-ui/core/styles';
import { Theme } from './theme.vm';
const defaultTheme = createMuiTheme();
export const theme: Theme = merge(defaultTheme, {
palette: {
background: {
default: '#fff',
},
customPalette: {
background: '#fff',
primary: '#d9d900',
secondary: '#2E2800',
successLight: '#11ae64',
successDark: '#0f834c',
alertLight: 'rgb(255, 87, 51)',
alertDark: 'rgb(207, 70, 41)',
blueLight: '#2196f3',
blueDark: '#1565c0',
greyLight: '#eee',
greyMedium: '#ccc',
},
},
breakpoints: {
values: {
xs: 380,
sm: 578,
md: 728,
lg: 1100,
},
},
spacing: (factor: number) => `${0.5 * factor}rem`, // 1 unit = 8px / 0.5rem
});