feat: upgrade srjuggernaut-panda-preset and centralize theme config

This commit is contained in:
2026-02-09 13:43:50 -06:00
parent c87ee5ea01
commit a104169551
7 changed files with 65 additions and 11 deletions

View File

@@ -1,14 +1,9 @@
import { defineConfig } from '@pandacss/dev'
import srJuggernautPandaPreset from '@srjuggernaut-dev/srjuggernaut-panda-preset'
import themeConfig from '@/styles/theme'
export default defineConfig({
presets: [
srJuggernautPandaPreset({
neutral: 'gray',
colorVariation: { dark: true, alpha: false, p3: false },
includeColors: ['teal', 'gray'],
semanticColors: { primary: 'teal' }
})
],
presets: [srJuggernautPandaPreset(themeConfig)],
preflight: true,
include: ['./src/**/*.{ts,tsx,js,jsx,astro}'],
exclude: [],