-
Notifications
You must be signed in to change notification settings - Fork 0
/
panda.config.ts
95 lines (94 loc) · 2.28 KB
/
panda.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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
import { defineConfig } from "@pandacss/dev"
import { createPreset } from "@park-ui/panda-preset"
import createTypographyPreset from "pandacss-preset-typography"
export default defineConfig({
preflight: true,
jsxFramework: "react",
presets: [
"@pandacss/preset-base",
createTypographyPreset(),
createPreset({
accentColor: "indigo",
grayColor: "slate",
borderRadius: "sm"
})
],
include: ["./src/**/*.{ts,tsx,js,jsx,astro}"],
exclude: [],
theme: {
extend: {
tokens: {
fonts: {
"fig-tree": { value: "var(--font-fig-tree), sans-serif" },
"dm-mono": { value: "var(--font-dm-mono), monospace" }
}
},
semanticTokens: {
colors: {
prose: {
body: {
value: "{colors.fg.default/85}"
},
heading: {
value: "{colors.fg.default}"
},
lead: {
value: "{colors.fg.default}"
},
link: {
value: "{colors.accent.text}"
},
bold: {
value: "{colors.fg.default}"
},
counter: {
value: "{colors.slate.11}"
},
bullet: {
value: "{colors.accent.12}"
},
hrBorder: {
value: "{colors.slate.6}"
},
quote: {
value: "{colors.slate.11}"
},
quoteBorder: {
value: "{colors.slate.6}"
},
caption: {
value: "{colors.slate.11}"
},
kbd: {
value: "{colors.slate.11}"
},
kbdShadow: {
value: "0 0 0"
},
code: {
value: "{colors.fg.default}"
},
preCode: {
value: "{colors.slate.12}"
},
preBg: {
value: "{colors.slate.2}"
},
thBorder: {
value: "{colors.border.default}"
},
tdBorder: {
value: "{colors.border.default}"
}
}
}
},
recipes: {
icon: {
jsx: ["Icon", "PresetIcon"]
}
}
}
},
outdir: "styled-system"
})