feat: upgrade srjuggernaut-panda-preset and centralize theme config
This commit is contained in:
@@ -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: [],
|
||||
|
||||
Reference in New Issue
Block a user