-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpanda.config.ts
49 lines (40 loc) · 945 Bytes
/
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
import { defineConfig, defineGlobalStyles } from "@pandacss/dev";
const globalCss = defineGlobalStyles({
html: {
fontSize: 14,
},
body: {
backgroundColor: { base: "neutral.100", _dark: "neutral.900" },
color: { base: "black", _dark: "white" },
fontFamily: "sans",
fontSize: "unset",
},
});
export default defineConfig({
globalCss,
preflight: true,
minify: true,
hash: true,
outdir: "src/browser/styled-system",
outExtension: "js",
jsxFramework: "react",
jsxStyleProps: "all",
include: ["src/browser/**/*.{js,jsx,ts,tsx}"],
conditions: {
extend: {
popout: ".popout &, [data-popout] &",
},
},
theme: {
extend: {
tokens: {
fonts: {
sans: {
value:
"'Plus Jakarta Sans', system-ui, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'",
},
},
},
},
},
});