-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpanda.config.ts
96 lines (92 loc) · 2.81 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
import { defineConfig } from '@pandacss/dev';
import { textStyles } from '@styles/textStyles';
export default defineConfig({
// Whether to use css reset
preflight: true,
// Where to look for your css declarations
include: ['./src/components/**/*.{ts,tsx,js,jsx}', './src/pages/**/*.{ts,tsx,js,jsx}'],
// Files to exclude
exclude: [],
// Useful for theme customization
theme: {
extend: {
textStyles,
tokens: {
colors: {
gray: {
0: { value: '#FFF' },
10: { value: '#F8F9FA' },
20: { value: '#EDF0F2' },
30: { value: '#D7DCE0' },
40: { value: '#C2C8CE' },
50: { value: '#A7AFB7' },
60: { value: '#6A737B' },
70: { value: '#485057' },
80: { value: '#32383E' },
90: { value: '#2A2F34' },
100: { value: '#1E2025' },
110: { value: '#141517' },
},
main: {
blue: { value: '#0098E8' },
sky: { value: '#22CEFF' },
green: { value: '#9BE180' },
black: { value: '#1E2025' },
yellow: { value: '#FFE558' },
white: { value: '#FFF' },
},
blue: {
10: { value: '#E0F5FF' },
20: { value: '#B1E3FE' },
30: { value: '#7BD2FC' },
40: { value: '#44C1FA' },
50: { value: '#02B3FA' },
60: { value: '#05A5F8' },
70: { value: '#0098E8' },
80: { value: '#0385D5' },
90: { value: '#0074C1' },
100: { value: '#00549E' },
},
green: {
10: { value: '#EEFAE9' },
20: { value: '#D6F2CA' },
30: { value: '#B8EAA5' },
40: { value: '#9BE180' },
50: { value: '#82DA63' },
60: { value: '#6CD24A' },
70: { value: '#5DC142' },
80: { value: '#48AC38' },
90: { value: '#329830' },
100: { value: '#02751F' },
},
success: { value: '#0098E8' },
error: { value: '#EB5281' },
bg: {
100: { value: '#FFF' },
200: { value: '#F8F9FA' },
300: { value: '#EDF0F2' },
},
text: {
100: { value: '#1E2025' },
200: { value: '#6A737B' },
300: { value: '#A7AFB7' },
},
},
fonts: {
pretendard: { value: 'var(--font-pretendard), sans-serif' },
},
shadows: {
default: { value: '0.1rem 0.1rem 0.7rem 0rem #e1e1e1ad' },
},
},
keyframes: {
spin: {
'0%': { transform: 'rotate(0deg)' },
'100%': { transform: 'rotate(360deg)' },
},
},
},
},
// The output directory for your css system
outdir: 'styled-system',
});