-
Notifications
You must be signed in to change notification settings - Fork 0
/
panda.config.ts
60 lines (52 loc) · 1.22 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
import { defineConfig } from "@pandacss/dev";
import typographyPreset from "pandacss-preset-typography";
import pandaPreset from "@pandacss/preset-panda";
import formPreset from "pform-reset";
export default defineConfig({
// Whether to use css reset
preflight: true,
// Where to look for your css declarations
include: ["./src/**/*.{ts,tsx,js,jsx,astro,mdx}"],
// Files to exclude
exclude: [],
globalCss: {
button: {
cursor: "pointer",
},
},
conditions: {
extend: {
deviceNoHover: "@media (hover: none)",
groupOpen: ".group[open] &",
},
},
// Useful for theme customization
theme: {
extend: {
keyframes: {
/**
* Comes from https://github.com/fkhadra/react-toastify/blob/edb231d07cc298a82e26d489030356387906ff92/scss/_progressBar.scss#L1-L8.
*/
"progress-bar": {
"0%": {
transform: "scaleX(1)",
},
"100%": {
transform: "scaleX(0)",
},
},
},
},
},
// The output directory for your css system
outdir: "styled-system",
presets: [
typographyPreset({
recipe: {
notProse: true,
},
}),
pandaPreset,
formPreset,
],
});