nativewind
nativewind copied to clipboard
setColorScheme (Dark Mode) is broken
Further described in this issue: https://github.com/marklawlor/nativewind/issues/866
Once either dark or light is set then further system settings changes what trigger an update
Setting system also doesn't work (if you toggle dark mode in device settings the app ui doesn't update).
Even if dark/light is set in setColorScheme, system (device) changes should still trigger.
I'm facing the same issue. did you fixed
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 .dark:root to .dark. Hopefully this can help someone else!
Closed as duplicate of #917
@danstepanov condering both tickets are closed should a new ticket be opened to have Nativeiwnd work with the latest Tailwind release?
@enchorb That would be a separate concern, yes.