-
Notifications
You must be signed in to change notification settings - Fork 71
Expand file tree
/
Copy pathpanda.config.ts
More file actions
42 lines (41 loc) · 1.23 KB
/
Copy pathpanda.config.ts
File metadata and controls
42 lines (41 loc) · 1.23 KB
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
import { defineConfig } from '@pandacss/dev';
export default defineConfig({
presets: ['@pandacss/preset-base', '@pandacss/preset-panda'],
preflight: true,
jsxFramework: 'solid',
outdir: 'styled-system',
importMap: 'styled-system',
// Prefixed so the shipped CSS doesn't collide with Tailwind v3's `@layer base/utilities`
layers: {
reset: 'panda-reset',
base: 'panda-base',
tokens: 'panda-tokens',
recipes: 'panda-recipes',
utilities: 'panda-utilities',
},
include: ['./packages/playground/src/**/*.{ts,tsx}', './packages/solid-repl/src/**/*.{ts,tsx}'],
exclude: [],
conditions: {
dark: '.dark &',
light: '[data-theme=light] &',
darkGroupHover: '.dark .group:is(:hover, [data-hover]) &',
},
theme: {
extend: {
tokens: {
colors: {
dark: { value: '#07254A' },
medium: { value: '#446b9e' },
solidc: { value: '#2c4f7c' },
},
fonts: {
sans: {
value:
'Gordita, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif',
},
mono: { value: 'Menlo, Monaco, "Courier New", monospace' },
},
},
},
},
});