-
Notifications
You must be signed in to change notification settings - Fork 3
/
panda.config.ts
47 lines (39 loc) · 933 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
import { defineConfig } from "@pandacss/dev";
import { semanticTokens } from "./semantic-tokens";
import { textStyles } from "./text-styles";
export default defineConfig({
presets: ["@shadow-panda/preset"],
// Whether to use css reset
preflight: true,
// Where to look for your css declarations
include: ["./src/**/*.{js,jsx,ts,tsx}"],
// Files to exclude
exclude: [],
globalCss: {
":root": {
fontSize: {
base: "14px", // width < 640px
sm: "16px",
},
color: "foreground",
bg: "background",
},
"input.input": {
color: "foreground",
},
"dialog.nostr-zap-dialog": {
bg: "white",
}
},
// Useful for theme customization
theme: {
extend: {
textStyles,
semanticTokens,
},
},
// The output directory for your css system
emitPackage: true,
outdir: "@shadow-panda/styled-system",
jsxFramework: "react",
});