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
awcodes14mo ago
Make sure to also follow the instructions in the console after creating the theme.
wulfheart
wulfheartOP14mo 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
awcodes14mo 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. 😀
Want results from more Discord servers?
Add your server