-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpanda.config.ts
53 lines (45 loc) · 1.08 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
import { defineConfig } from "@pandacss/dev";
export default defineConfig({
// Whether to use css reset
preflight: true,
strictTokens: true,
// Where to look for your css declarations
include: ["./app/**/*.{js,jsx,ts,tsx}", "./components/**/*.{js,jsx,ts,tsx}"],
// Files to exclude
exclude: [],
// Useful for theme customization
theme: {
extend: {
tokens: {
aspectRatios: {
posterImage: {
value: "0.66666666667",
description: "Aspect ratio for movie poster images (vertical)",
},
},
},
},
semanticTokens: {
colors: {
brandPrimary: {
value: {
"_brand-foo": "{colors.rose.800}",
"_brand-bar": "{colors.yellow.500}",
},
},
},
},
},
globalCss: {
body: {
bg: "slate.900",
color: "slate.200",
},
},
conditions: {
"brand-foo": '[data-theme="brand-fooflix"] &',
"brand-bar": '[data-theme="brand-barflix"] &',
},
// The output directory for your css system
outdir: "styled-system",
});