-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathpanda.config.ts
46 lines (37 loc) · 1.08 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
import { defineConfig, defineGlobalStyles } from '@pandacss/dev';
const globalStyles = defineGlobalStyles({
'p a, li a, td a': {
color: 'rgb(56, 189, 248)', // Light blue color
textDecoration: 'none',
_hover: {
textDecoration: 'underline',
}
}
});
export default defineConfig({
presets: ['@shadow-panda/preset'],
// Whether to use css reset
preflight: true,
// Where to look for your css declarations
include: ['mdx-components.tsx', './src/**/*.{js,jsx,ts,tsx}', './pages/**/*.{js,jsx,ts,tsx}'],
// Files to exclude
exclude: [],
// Useful for theme customization
theme: {
extend: {
tokens: {
fonts: {
sans: { value: 'var(--font-body), sans-serif' },
mono: { value: 'var(--font-mono), monospace' },
body: { value: 'var(--font-body), sans-serif' },
heading: { value: 'var(--font-heading), sans-serif' },
},
},
},
},
jsxFramework: 'react',
// The output directory for your css system
outdir: './src/styled-system',
// Add global styles
globalCss: globalStyles,
});