-
-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathstitches.config.ts
56 lines (54 loc) · 1.83 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
import { createCss, defaultThemeMap } from "@stitches/react"
export const { styled, global, theme, getCssString } = createCss({
themeMap: {
...defaultThemeMap,
font: "fonts",
},
theme: {
fonts: {
docs: '500 14px/20px "Inter", -apple-system, sans-serif',
ui: '500 12px/14px "Inter", -apple-system, sans-serif',
section: '600 12px/14px "Inter", -apple-system, sans-serif',
mono: '500 14px/14px "IBM Plex Mono", monospace',
"mono-ui": '500 12px/14px "IBM Plex Mono", monospace',
code: '500 14px/18px "IBM Plex Mono", monospace',
monoheading: '600 20px/24px "IBM Plex Mono", monospace',
debug: '500 10px/10px "IBM Plex Mono", monospace',
},
colors: {
left: "rgba(29, 144, 255, 1)",
right: "rgba(255, 141, 30, 1)",
selected: "rgba(255, 0, 0, 1)",
hovered: "rgba(255, 0, 0, 0.1)",
bounds: "rgb(0, 106, 255)",
bounds_bg: "rgba(0, 106, 255, 0.05)",
canvas: "rgba(239, 239, 239, 1)",
panel: "rgba(255, 255, 255, 1)",
section: "rgba(251, 250, 250, 1)",
border: "rgba(231, 231, 231, 1)",
text: "rgba(37, 37, 37, 1)",
code: "rgba(37, 37, 160, 1)",
soft: "rgba(255, 255, 255, 0.62)",
hint: "rgba(0, 0, 0, 0.38)",
muted: "rgba(0, 0, 0, 0.16)",
outline: "rgba(0, 0, 0, 1)",
fill: "rgba(0, 0, 0, 1)",
lineError: "rgba(255, 0,0,.1)",
},
},
})
export const dark = theme("dark", {
colors: {
canvas: "rgba(29, 29, 28, 1)",
panel: "rgba(19, 19, 18, 1)",
section: "rgba(31, 31, 30, 1)",
border: "rgba(0, 0, 0, 1)",
text: "rgba(239, 239, 239, 1)",
code: "rgba(200, 200, 200, 1)",
soft: "rgba(52, 52, 52, 0.72)",
hint: "rgba(255, 255, 255, 0.38)",
muted: "rgba(255, 255, 255, 0.62)",
outline: "rgba(184, 185, 187, 1)",
fill: "rgba(255, 255, 255, 1)",
},
})