-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
panda.config.ts
35 lines (30 loc) · 922 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
import { defineConfig } from "@pandacss/dev";
import preset from "./panda.preset";
export default defineConfig({
presets: ["@pandacss/dev/presets", preset],
// Whether to use css reset
preflight: true,
// Where to look for your css declarations
include: [
"./{components,entrypoints,lib,src,playground}/**/*.{js,jsx,ts,tsx}",
],
// Files to exclude
exclude: [],
// Useful for theme customization
theme: {
extend: {},
},
// The output directory for your css system
outdir: "styled-system",
jsxFramework: "react",
// importMap: "styled-system",
hooks: {
"parser:before": ({ configure }) => {
configure({
// ignore the <Tooltip /> entirely,
// prevents: `🐼 error [sheet:process] > 1 | .content_Hide_\`\*\,_\:before\,_\:after\`_styles {content: Hide `*, :before, :after` styles;`
matchTag: (tag) => tag !== "Tooltip",
});
},
},
});