-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy paththeme.ts
78 lines (74 loc) · 1.34 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
import { roboto } from '@theme-ui/presets';
const extraColors = {
positive: '#23ecbb',
danger: '#ec2e5f',
};
const theme = {
...roboto,
containers: {
list: {
p: '2rem',
},
listItem: {
mt: '1rem',
mb: '1rem',
background: 'background',
p: '1.5rem',
borderRadius: '.25rem',
},
card: {
boxShadow: '0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24)',
border: '1px solid',
borderColor: 'muted',
borderRadius: '4px',
p: 2,
},
page: {
width: '90%',
margin: '0 auto',
},
pageRowItem: {
':not(:first-of-type)': {
ml: '2rem',
},
},
content: {
maxWidth: '1200px',
margin: '0 auto',
},
},
button: {
border: 'none',
padding: '0.5rem',
borderRadius: '5px',
display: 'block',
width: 'fit-content',
cursor: 'pointer',
},
playerListItem: {
mr: '1.5rem',
mb: '1.5rem',
fontSize: '20px',
cursor: 'pointer',
border: '2px solid gray',
p: '0.5rem',
borderRadius: '10px',
':hover': {
background: 'highlight',
},
},
input: {
number: {
width: '5rem',
},
},
styles: {
...roboto.styles,
},
colors: {
...roboto.colors,
...extraColors,
},
};
export type ThemeColors = keyof typeof theme.colors;
export default theme;