🐼 Panda v0.16.0 #1525
anubra266
announced in
Announcements
🐼 Panda v0.16.0
#1525
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
To upgrade to v0.16.0:
What's Changed
Fixed
Added
panda cssgen
command&:is([closed], [data-closed], [data-state="closed"])
--minimal
flag for the CLI on thepanda cssgen
command to skip generating CSS for theme tokens,preflight, keyframes, static and global css
Thich means that the generated CSS will only contain the CSS related to the styles found in the included files.
This is useful when you want to split your CSS into multiple files, for example if you want to split by pages.
Use it like this:
panda cssgen "src/**/pages/*.css" --minimal --outfile dist/pages.css
In addition to the optional
glob
that you can already pass to override the config.include option, thepanda cssgen
command now accepts a new
{type}
argument to generate only a specific type of CSS:You can use it like this:
panda cssgen "static" --outfile dist/static.css
Beta Was this translation helpful? Give feedback.
All reactions