forked from prismicio-community/nextjs-starter-prismic-blog
-
Notifications
You must be signed in to change notification settings - Fork 0
/
stitches.config.ts
61 lines (59 loc) · 1.12 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
import { createStitches } from "@stitches/react";
import type * as Stitches from "@stitches/react";
import { gold, gray, purple, red, yellow } from "./theme/colors";
import { fontSizes, radii, sizes, space } from "./theme/sizes";
import { media } from "./theme/media";
import { utils } from "./theme/utils";
export type { VariantProps } from "@stitches/react";
export const {
styled,
css,
theme,
createTheme,
getCssText,
globalCss,
keyframes,
config,
reset,
} = createStitches({
theme: {
colors: {
...gray,
...red,
...purple,
...yellow,
...gold,
primary: "#d6b161",
},
fonts: {
untitled: "Untitled Sans, -apple-system, system-ui, sans-serif",
mono: "Söhne Mono, menlo, monospace",
},
space: {
...space,
},
sizes: {
...sizes,
},
fontSizes: {
...fontSizes,
},
radii: {
...radii,
},
zIndices: {
1: "100",
2: "200",
3: "300",
4: "400",
max: "999",
},
},
media: {
...media,
},
utils: {
...utils,
},
});
export type CSS = Stitches.CSS<typeof config>;