-
Notifications
You must be signed in to change notification settings - Fork 1
/
panda.config.ts
58 lines (53 loc) · 1.38 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
import { colorList, semanticColorList } from '@/styles/color';
import { keyframeList } from '@/styles/motion';
import { defineConfig } from '@pandacss/dev';
import { typographyList } from './src/styles/typography';
export default defineConfig({
// Whether to use css reset
preflight: true,
jsxFramework: 'react',
// Where to look for your css declarations
include: ['./src/**/*.{js,jsx,ts,tsx}', './src/pages/**/*.{ts,tsx,js,jsx}', './stories/**/*.{js,jsx,ts,tsx}'],
// Files to exclude
exclude: [],
// Useful for theme customization
theme: {
extend: {
keyframes: keyframeList,
textStyles: typographyList,
tokens: {
fonts: {
pretendard: { value: 'var(--pretendard)' },
},
animations: {
skeleton: {
value: 'pulse 1.4s cubic-bezier(0.4, 0, 0.6, 1) infinite',
},
},
sizes: {
maxWidth: {
value: '475px',
},
},
zIndex: {
modalOverlay: {
value: 9999,
},
appBar: {
value: '100',
},
bottomDim: {
value: '99',
},
loading: {
value: '10000',
},
},
...colorList,
},
},
semanticTokens: semanticColorList,
},
// The output directory for your css system
outdir: './src/styled-system',
});