-
Notifications
You must be signed in to change notification settings - Fork 0
/
panda.config.ts
60 lines (55 loc) · 1.65 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
import { defineConfig } from '@pandacss/dev'
import animationPreset from 'panda/preset/animation.preset'
import { customProseRecipe } from 'panda/recipes/custom-prose.recipe'
import { proseRecipe } from 'panda/recipes/prose.recipe'
export default defineConfig({
// Whether to use css reset
preflight: true,
// Where to look for your css declarations
include: ['./src/**/*.{js,jsx,ts,tsx}'],
// Files to exclude
exclude: [],
// Useful for theme customization
theme: {
extend: {
recipes: {
prose: proseRecipe,
customProse: customProseRecipe,
},
tokens: {
lineHeights: {
3: { value: '0.75rem' },
4: { value: '1rem' },
5: { value: '1.25rem' },
6: { value: '1.5rem' },
7: { value: '1.75rem' },
8: { value: '2rem' },
9: { value: '2.25rem' },
10: { value: '2.5rem' },
},
},
keyframes: {
tooltipFadeIn: {
'0%': { opacity: '0', scale: '0.8' },
'100%': { opacity: '1', scale: '1' },
},
tooltipFadeOut: {
'0%': { opacity: '1', scale: '1' },
'100%': { opacity: '0', scale: '0.8' },
},
tooltipSlideIn: {
'0%': { transform: 'translateY(4px)' },
'100%': { transform: 'translateY(0)' },
},
tooltipSlideOut: {
'0%': { transform: 'translateY(0)' },
'100%': { transform: 'translateY(4px)' },
},
},
},
},
presets: ['@pandacss/preset-base', '@pandacss/preset-panda', animationPreset],
// The output directory for your css system
outdir: 'styled-system',
strictTokens: false,
})