93 lines
2.5 KiB
TypeScript
93 lines
2.5 KiB
TypeScript
import { defineConfig } from '@pandacss/dev'
|
|
import { red } from './src/theme/colors/red'
|
|
import { green } from './src/theme/colors/green'
|
|
import { slotRecipes } from './src/theme/recipes'
|
|
import { recipes } from './src/theme/recipes'
|
|
import { conditions } from './src/theme/conditions'
|
|
import { globalCss } from './src/theme/global-css'
|
|
import { keyframes } from './src/theme/keyframes'
|
|
import { layerStyles } from './src/theme/layer-styles'
|
|
import { textStyles } from './src/theme/text-styles'
|
|
import { colors } from './src/theme/tokens/colors'
|
|
import { durations } from './src/theme/tokens/durations'
|
|
import { shadows } from './src/theme/tokens/shadows'
|
|
import { zIndex } from './src/theme/tokens/z-index'
|
|
import { animationStyles } from './src/theme/animation-styles'
|
|
import { violet } from './src/theme/colors/violet'
|
|
import { neutral } from './src/theme/colors/neutral'
|
|
export default defineConfig({
|
|
preflight: true,
|
|
include: ['./src/**/*.{ts,tsx}'],
|
|
outdir: 'styled-system',
|
|
jsxFramework: 'react',
|
|
theme: {
|
|
extend: {
|
|
semanticTokens: {
|
|
colors: {
|
|
red: red,
|
|
green: green,
|
|
fg: {
|
|
default: {
|
|
value: {
|
|
_light: '{colors.gray.12}',
|
|
_dark: '{colors.gray.12}',
|
|
},
|
|
},
|
|
muted: {
|
|
value: {
|
|
_light: '{colors.gray.11}',
|
|
_dark: '{colors.gray.11}',
|
|
},
|
|
},
|
|
subtle: {
|
|
value: {
|
|
_light: '{colors.gray.10}',
|
|
_dark: '{colors.gray.10}',
|
|
},
|
|
},
|
|
},
|
|
border: {
|
|
value: {
|
|
_light: '{colors.gray.4}',
|
|
_dark: '{colors.gray.4}',
|
|
},
|
|
},
|
|
error: {
|
|
value: {
|
|
_light: '{colors.red.9}',
|
|
_dark: '{colors.red.9}',
|
|
},
|
|
},
|
|
violet: violet,
|
|
gray: neutral,
|
|
},
|
|
shadows: shadows,
|
|
radii: {
|
|
l1: {
|
|
value: '2px',
|
|
},
|
|
l2: {
|
|
value: '3px',
|
|
},
|
|
l3: {
|
|
value: '4px',
|
|
},
|
|
},
|
|
},
|
|
animationStyles: animationStyles,
|
|
recipes: recipes,
|
|
slotRecipes: slotRecipes,
|
|
keyframes: keyframes,
|
|
layerStyles: layerStyles,
|
|
textStyles: textStyles,
|
|
tokens: {
|
|
colors: colors,
|
|
durations: durations,
|
|
zIndex: zIndex,
|
|
},
|
|
},
|
|
},
|
|
globalCss: globalCss,
|
|
conditions: conditions,
|
|
})
|