-
Notifications
You must be signed in to change notification settings - Fork 0
/
panda.config.ts
75 lines (65 loc) · 1.48 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
import { defineConfig } from '@pandacss/dev';
import { createPreset } from '@park-ui/panda-preset';
/* custom recripe */
import { tokens } from './src/recipes/tokens';
import { keyframes } from './src/recipes/keyframes';
import { recipes, slotRecipes } from './src/recipes/recipes';
export default defineConfig({
// Whether to use css reset
preflight: true,
presets: [
'@pandacss/preset-base',
createPreset({
accentColor: 'iris',
grayColor: 'neutral',
borderRadius: 'sm',
additionalColors: [
/* accent */
'tomato',
'crimson',
'orange',
'amber',
'grass',
'cyan',
'sky',
'iris',
'plum',
/* grays */
'mauve',
'olive',
'sand',
'slate',
],
}),
],
// Where to look for your css declarations
include: ['./src/**/*.{js,jsx,ts,tsx}', './pages/**/*.{js,jsx,ts,tsx}'],
// Files to exclude
exclude: [],
// create jsx preset
jsxFramework: 'solid',
// pregenerate
staticCss: {
themes: ['light', 'dark'],
},
conditions: {},
// Useful for theme customization
theme: {
containerNames: ['actionHeader'],
containerSizes: {
actionHeaderXs: '200px',
actionHeaderSm: '300px',
xs: '40rem',
sm: '60rem',
md: '80rem',
},
extend: {
tokens,
slotRecipes,
recipes,
keyframes,
},
},
// The output directory for your css system
outdir: 'styled-system',
});