57 lines
1.1 KiB
TypeScript
57 lines
1.1 KiB
TypeScript
import { defineConfig } from '@pandacss/dev'
|
|
import srJuggernautPandaPreset from '@srjuggernaut-dev/srjuggernaut-panda-preset'
|
|
import themeConfig from '@/styles/theme'
|
|
|
|
export default defineConfig({
|
|
presets: [srJuggernautPandaPreset(themeConfig)],
|
|
preflight: true,
|
|
include: ['./src/**/*.{ts,tsx,js,jsx,astro}'],
|
|
exclude: [],
|
|
globalCss: {
|
|
body: {
|
|
backgroundColor: 'neutral.1',
|
|
color: 'neutral.12',
|
|
fontFamily: "'Roboto Variable', sans-serif",
|
|
lineHeight: 'tight'
|
|
},
|
|
'*, *::before, *::after': {
|
|
margin: 0,
|
|
padding: 0,
|
|
boxSizing: 'border-box'
|
|
},
|
|
'h1, h2, h3, h4, h5, h6': {
|
|
fontWeight: '700',
|
|
textWrap: 'balance',
|
|
lineHeight: 'normal'
|
|
},
|
|
h1: {
|
|
fontFamily: 'orbitron',
|
|
fontWeight: '900',
|
|
fontSize: 'h1'
|
|
},
|
|
h2: {
|
|
fontSize: 'h2'
|
|
},
|
|
h3: {
|
|
fontSize: 'h3'
|
|
},
|
|
h4: {
|
|
fontSize: 'h4'
|
|
},
|
|
h5: {
|
|
fontSize: 'h5'
|
|
},
|
|
h6: {
|
|
fontSize: 'h6'
|
|
},
|
|
p: {
|
|
fontSize: 'body',
|
|
textWrap: 'pretty'
|
|
}
|
|
},
|
|
theme: {
|
|
extend: {}
|
|
},
|
|
outdir: 'styled-system'
|
|
})
|