Is there a way to statically generate css for text styles? #2914
-
Hi! Our project is using panda with minimal css props. However, we'd like to expose a couple of props on our |
Beta Was this translation helpful? Give feedback.
Answered by
segunadebayo
Oct 15, 2024
Replies: 1 comment
-
You can use the import { defineConfig } from "@pandacss/dev";
export const config = defineConfig({
// ...
staticCss: {
css: [{ properties: { textStyle: ['*'] } }],
},
}); |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
segunadebayo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can use the
staticCss
config property to pre-generate any style or recipe.