-
-
Notifications
You must be signed in to change notification settings - Fork 235
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
Dark mode modifier #917
Comments
Could you please try the canary version (4.0.36)? Several improvements have been made and maybe this issue has been fixed. |
Thank you, @GustavoBonfimS, for responding. I tried both '4.0.1' and '4.0.36' but encountered the same problem. The style definition can be found in .dark\:bg-destructive:is(.dark *) {
background-color: hsl(var(--destructive));
} |
What version of Tailwind are you using? Try version 3.4.1; version 3.4.2 introduced some changes to how dark mode styles are generated. I believe it is not handled by NativeWind right now. |
@alisherks you're right my version was |
I was having problem with the dark mode functionality in my app as well and I found out that I by accident changed the .dark selector in global.css from |
Describe the bug
dark:
modifier broken on the last version for native apps :works fine with
ios:
android:
:To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
Platform (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: