-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstitches.config.ts
46 lines (43 loc) · 963 Bytes
/
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
import { createStitches } from '@stitches/react';
export const {
styled,
css,
globalCss,
keyframes,
getCssText,
theme,
createTheme,
config,
} = createStitches({
theme: {
colors: {
gray400: 'gainsboro',
gray500: 'lightgray',
braf: 'green',
steam: './Utils/Logos/steam.svg',
discord: './Utils/Logos/discord.svg'
},
},
media: {
'mobile': '(max-width: 680px)',
'tablet': '(min-width: 681px)',
'desktop': '(min-width: 1124px)',
'fulldesktop': '(min-width: 1200px)',
},
utils: {
marginX: (value: string) => ({ marginLeft: value, marginRight: value }),
marginY: (value: string) => ({ marginTop: value, marginBottom: value }),
},
});
export const injectGlobalStyles = globalCss({
'*': {
margin: 0,
padding: 0
},
'@desktop': {
body: {
overflow: 'hidden'
}
}
});
injectGlobalStyles();