@pandacss/error
Advanced tools
Changelog
[0.20.1] - 2023-12-01
token(xxx.yyy)
fn used in AtRule, things like:css({
'@container (min-width: token(sizes.xl))': {
color: 'green.300',
},
'@media (min-width: token(sizes.2xl))': {
color: 'red.300',
},
})
panda ship
commandcodegen
experience by only rewriting files affecteds by a config changestrokeWidth
to svg utilities.outlineWidth
utility to borderWidths
token.borderWidth
, borderTopWidth
, borderLeftWidth
, borderRightWidth
, borderBottomWidth
to berder utilities.staticCss
in presets allowing you create sharable, pre-generated stylesstaticCss
defined in presetsconst presetWithStaticCss = definePreset({
staticCss: {
recipes: {
// generate all button styles and variants
button: ['*'],
},
},
})
export default defineConfig({
presets: [presetWithStaticCss],
staticCss: {
extend: {
recipes: {
// extend and pre-generate all sizes for card
card: [{ size: ['small', 'medium', 'large'] }],
},
},
},
})