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
|
export const styles = (theme) => ({
'*, *::before, *::after': {
boxSizing: 'border-box',
},
'*': {
margin: '0',
},
html: {
height: '100%',
},
body: {
height: '100%',
WebkitFontSmoothing: 'antialiased',
lineHeight: theme.lineHeight,
background: theme.cr.getAppBackground(),
color: theme.cr.getHighContrastText(),
...theme.fn.fontStyles(),
},
'img, picture, video, canvas, svg': {
display: 'block',
},
'input, button, textarea, select': {
font: 'inherit',
},
'p, h1, h2, h3, h4, h5, h6': {
overflowWrap: 'break-word',
},
'#root': {
height: '100%',
isolation: 'isolate',
},
});
|