-
Notifications
You must be signed in to change notification settings - Fork 0
/
stitches.config.ts
48 lines (47 loc) · 1.05 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
import { createStitches } from "@stitches/react";
export const {
config,
createTheme,
css,
getCssText,
globalCss,
styled,
theme,
} = createStitches({
theme: {
colors: {
flower: "#FF8000",
heart: "#FF234D",
word: "#FFE300",
surface: "#FFB4E2",
surfaceText: "hsla(311, 81%, 78%, 1)",
brightText: "#FFFFFF",
defaultText: "#000000",
},
fonts: {
zh: 'Noto Sans TC, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif',
en: 'Noto Sans, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif',
},
},
utils: {
marginX: (value) => ({
marginLeft: value,
marginRight: value,
}),
marginY: (value) => ({
marginTop: value,
marginBottom: value,
}),
paddingX: (value) => ({
paddingLeft: value,
paddingRight: value,
}),
paddingY: (value) => ({
paddingTop: value,
paddingBottom: value,
}),
},
media: {
desktop1: "(min-width: 2060px)",
},
});