Closed SabirKhanek closed 1 month ago
I think it is being purged out, you should add safelist: ["dark"]
to your tailwind config, that should fix it
Thank you, it solved my issue. One more thing I did was adding the 'dark' class to the instead of the
.
Hi,
First, I want to thank you for the incredible work on the
tailwind-plugin-realtime-colors
library. It has been very useful!I've encountered an issue where the dark theme variants are not being included in the generated stylesheet. Specifically, I would like the following CSS to be included:
Steps to Reproduce:
dark
class in the body).Expected Behavior: The generated stylesheet should include dark theme variants within a
.dark
class.Actual Behavior: The dark theme variants are missing from the stylesheet.
Configuration:
Thank you for your assistance!