nativewind icon indicating copy to clipboard operation
nativewind copied to clipboard

setColorScheme (Dark Mode) is broken

Open enchorb opened this issue 1 year ago • 1 comments

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.

enchorb avatar May 12 '24 15:05 enchorb

I'm facing the same issue. did you fixed

tarifalhasan avatar May 13 '24 03:05 tarifalhasan

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!

desiboli avatar May 20 '24 09:05 desiboli

Closed as duplicate of #917

danstepanov avatar May 30 '24 15:05 danstepanov

@danstepanov condering both tickets are closed should a new ticket be opened to have Nativeiwnd work with the latest Tailwind release?

enchorb avatar May 30 '24 15:05 enchorb

@enchorb That would be a separate concern, yes.

danstepanov avatar May 30 '24 15:05 danstepanov