-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpanda.config.ts
63 lines (55 loc) · 1.05 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
import { defineConfig, defineGlobalStyles } from "@pandacss/dev";
const globalCss = defineGlobalStyles({
html: {
"-o-tab-size": 4,
scrollBehavior: "smooth",
},
button: {
cursor: "pointer",
},
h1: {
fontSize: "xxx-large",
},
h2: {
fontSize: "xx-large",
},
h3: {
fontSize: "x-large",
},
h4: {
fontSize: "large",
fontStyle: "italic",
},
});
export default defineConfig({
jsxFramework: "qwik",
// Whether to use css reset
preflight: true,
// Where to look for your css declarations
include: ["./src/**/*.{js,jsx,ts,tsx}"],
// Files to exclude
exclude: [],
conditions: {
extend: {
_dark: "",
},
},
// Useful for theme customization
theme: {
extend: {
semanticTokens: {
colors: {
text: {
value: {
_dark: "{colors.neutral.100}",
_light: "{colors.neutral.950}",
},
},
},
},
},
},
// The output directory for your css system
outdir: "src/styled-system",
globalCss,
});