how to build custom theme

Hello, how can I build the tailwind of a custom theme. It just does not seem to just run npm run build. How can I "register" the custom tailwind.config.js so that it generates the correct output css? Thank you in advance.
4 Replies
awcodes
awcodes9mo ago
Make sure to also follow the instructions in the console after creating the theme.
wulfheart
wulfheart9mo ago
Hey @awcodes , thanks for your response. I made all these changes as described (and also in your packages). But it still does not generate the resulting css file.
awcodes
awcodes9mo ago
Ok. Are you rerunning the build. If you included ->viteTheme() in your panel it should be working fine. But you have to npm run dev while developing and npm run build for deploy. Kinda guessing here too, since you haven’t provided any code as to what you are doing/trying. 😀