-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstitches.config.ts
78 lines (76 loc) · 1.85 KB
/
stitches.config.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 { createStitches } from '@stitches/react'
export const { getCssText, globalCss, styled, css, keyframes, theme } =
createStitches({
theme: {
colors: {
blue: '#00AEFF',
white: '#FFF',
'gray-1': '#E5E5E5',
'gray-2': '#8F9199',
'gray-3': '#828792',
'gray-4': '#9D9D9D',
neutral: '#15171B',
'gradient-1':
'linear-gradient(136.72deg, rgba(7, 7, 10, 0.86) 19.22%, rgba(15, 16, 22, 0.5) 76.59%)',
black: '#020203',
'gradient-2':
'linear-gradient(180deg, #020203 0%, rgba(14, 17, 23, 0.92) 96.35%, rgba(14, 17, 23, 0.9) 100%)',
},
fonts: {
poppins: 'Poppins, sans-serif',
},
},
media: {
xl: '(max-width: 1440px)',
lg: '(max-width: 1160px)',
md: '(max-width: 768px)',
sm: '(max-width: 375px)',
},
utils: {
bgImage: (value: string) => ({
background:
'radial-gradient(72.28% 72.28% at 52.36% 25.95%, rgba(2, 2, 3, 0) 0%, #020203 71.1%)',
backgroundImage: `url(${value})`,
backgroundSize: 'cover',
backgroundRepeat: 'no-repeat',
backgroundPosition: 'center',
}),
},
})
export const resetCss = globalCss({
'*': {
margin: 0,
padding: 0,
boxSizing: 'border-box',
},
html: {
fontSize: '62.5%',
},
body: {
width: '100%',
fontFamily: '$poppins',
backgroundColor: '$black',
color: '$white',
minHeight: '100vh',
},
'a, button': {
textDecoration: 'none',
color: 'CurrentColor',
cursor: 'pointer',
border: 'none',
fontFamily: '$poppins',
},
input: {
fontFamily: '$poppins',
},
'::-webkit-scrollbar': {
width: '6px',
},
'::-webkit-scrollbar-track': {
background: '$neutral',
},
'::-webkit-scrollbar-thumb': {
background: '$blue',
borderRadius: '10px',
},
})