-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy paththeme.ts
55 lines (54 loc) · 1.37 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
import { createTheme } from '@material-ui/core';
export const theme = createTheme({
props: {
MuiButtonBase: {
disableRipple: true,
},
},
palette: {
primary: {
main: '#4683d9',
},
},
overrides: {
MuiPaper: {
rounded: {
borderRadius: 8,
},
},
MuiDialog: {
paper: {
boxShadow: 'none',
},
},
MuiButton: {
root: {
borderRadius: '8px',
textTransform: 'inherit',
fontSize: 16,
transition: 'none',
'&:active': {
boxShadow:
'0 1px 1px rgb(0 0 0 / 15%), 0 4px 7px rgb(0 0 0 / 0%), 0 -1px 0 rgb(0 0 0 / 5%), -1px 0 0 rgb(0 0 0 / 5%), 1px 0 0 rgb(0 0 0 / 5%) !important',
transform: 'translateY(1px)',
},
},
contained: {
backgroundColor: 'white',
boxShadow:
'0 1px 1px rgb(0 0 0 / 15%), 0 4px 7px rgb(0 0 0 / 5%), 0 -1px 0 rgb(0 0 0 / 5%), -1px 0 0 rgb(0 0 0 / 5%), 1px 0 0 rgb(0 0 0 / 5%)',
'&:hover': {
backgroundColor: 'white',
boxShadow:
'0 1px 1px rgb(0 0 0 / 18%), 0 4px 7px rgb(0 0 0 / 8%), 0 -1px 0 rgb(0 0 0 / 8%), -1px 0 0 rgb(0 0 0 / 8%), 1px 0 0 rgb(0 0 0 / 15%)',
},
},
containedPrimary: {
backgroundColor: '#4683d9',
'&:hover': {
backgroundColor: '#437CCE',
},
},
},
},
});