-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tailwindcss v1.8 dark mode (experimental) issue #2319
Comments
Having the same issue.
|
We're looking into it! |
@RobinMalfait How experimental is the dark mode support? Looking to use it in my project. Been using this method:
|
@ben-sommer I don't have any concrete plans to change anything, just reserving the ability to do so if necessary. It will be a feature for 2.0 for sure (coming in November), so at best it won't change at all over the next two months, at worst there might be a class name tweak (maybe I'd just use it and be willing to make small updates if anything changes. I wouldn't hesitate to use it in my own projects personally. |
@ben-sommer That technique works more reliably for me. I was getting interference from using Tailwind UI, which breaks the new, experimental dark mode support. More information here: #2322 (comment). |
Describe the problem:
🚫 Error: Your config mentions the "dark" variant, but "dark" doesn't appear to be a variant. Did you forget or misconfigure a plugin that supplies that variant?
Link to a minimal reproduction:
When run build command
npx tailwindcss build -o src/index.css
, getting the above error.The text was updated successfully, but these errors were encountered: