-
Notifications
You must be signed in to change notification settings - Fork 0
/
mantine.ts
69 lines (63 loc) · 1.4 KB
/
mantine.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
import { MantineProviderProps } from '@mantine/core';
export const theme: MantineProviderProps['theme'] = {
spacing: {
xs: '0.75rem', // 12px
sm: '1rem', // 16px
md: '1.5rem', // 24px
lg: '2rem', // 32px
xl: '2.5rem', // 40px
},
radius: {
xs: '0.25rem', // 4px
sm: '0.5rem', // 8px
md: '0.75rem', // 12px
lg: '1rem', // 16px
xl: '1.25rem', // 20px
},
defaultRadius: 'sm',
breakpoints: {
xxs: '397px',
xs: '36em', // 576px
sm: '48em', // 768px
md: '62em', // 992px
lg: '75em', // 1200px
xl: '88em', // 1408px
},
fontSizes: {
xs: '0.75rem', // 12px
sm: '0.875rem', // 14px
md: '1rem', // 16px
lg: '1.125rem', // 18px
xl: '1.25rem', // 20px
},
headings: {
fontWeight: '600',
// properties for individual headings, all of them are optional
sizes: {
h1: { fontSize: '2.125rem' }, // 34px
h2: { fontSize: '1.625rem' }, // 26px
h3: { fontSize: '1.375rem' }, // 22px
h4: { fontSize: '1.125rem' }, // 18px
h5: { fontSize: '1rem' }, // 16px
h6: { fontSize: '0.875rem' }, // 14px
},
},
colors: {
brand: [
'#fff4e6',
'#ffe8cc',
'#ffd8a8',
'#ffc078',
'#ffa94d',
'#20C997',
'#12B886',
'#0CA678',
'#099268',
'#087F5B',
],
},
primaryColor: 'yellow',
primaryShade: 6,
black: '#3b3b3b',
white: '#fff',
};