-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstitches.config.js
74 lines (63 loc) · 1.24 KB
/
stitches.config.js
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
import { createStitches } from '@stitches/react'
export const { styled, globalCss, css, getCssText, createTheme } = createStitches({
theme: {
colors: {
//mutable
background: '#FFFFFF',
text: '#677489',
//unmutables
white: '#FFFFFF',
gray: '#C3CBD5',
green: '#60d685',
red: '#FF7272',
//low-scale
low_gray: '#F2F5F8',
low_green: 'rgba(96,214,133,0.3)',
low_red: 'rgba(255, 114, 114, 0.1)',
//high-scale
high_green: '#469F62',
},
fontSizes: {
1: '12px',
2: '16px',
3: '20px',
4: '24px',
},
sizes: {
max_desk: '1280px',
max_tab: '768px',
max_mob: '320px',
},
},
});
export const globalStyles = globalCss({
'*': {
margin: 0,
padding: 0,
boxSizing: 'border-box',
},
body: {
background: '$background',
color: '$text',
},
'@media (max-width: 1080px)': {
html: {
fontSize: '93.75%',
},
},
'@media (max-width: 720px)': {
html: {
fontSize: '87.5%',
},
},
'body,input, textarea, select, button': {
font: '400 1rem "Inter", sans-serif',
},
button: {
cursor: 'pointer',
},
a: {
color: 'inherit',
textDecoration: 'none',
},
});