-
Notifications
You must be signed in to change notification settings - Fork 0
/
panda.config.ts
34 lines (33 loc) · 1.04 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
import { defineConfig } from '@pandacss/dev'
import { colorAliasesPreset } from './modules/design-system/lib/preset-color-aliases'
import { colorSystemPreset } from './modules/design-system/lib/preset-colors'
import { appCorePandaPreset } from './modules/design-system/lib/preset-core'
export default defineConfig({
preflight: true,
jsxFramework: 'react',
// jsxStyleProps: 'minimal', // reduces the size of the generated code due to not having to split style props at runtime.
outdir: 'styled-system',
validation: 'error',
include: [
// Where to look for your CSS declarations
'./app/**/*.{js,jsx,ts,tsx}',
'./components/**/*.{js,jsx,ts,tsx}',
'./lib/**/*.{js,jsx,ts,tsx}',
'./modules/**/*.{js,jsx,ts,tsx}',
],
presets: ['@pandacss/preset-base', colorSystemPreset, colorAliasesPreset, appCorePandaPreset],
hash: {
className: true,
cssVar: false,
},
// staticCss: {
// css: [
// {
// properties: {
// color: ['*'],
// bg: ['*'],
// },
// },
// ],
// },
})