Closed jgornick closed 3 weeks ago
Closing the issue because I verified that once you override and set the color scheme explicitly, it will not change even if the system changes.
For example, if you set the color scheme to light
or dark
, it will always be in that mode and system changes won't trigger changes either.
Describe the bug
DISCLAIMER: I'm logging this issue only by looking at the code implementation.
It seems like light/dark mode is always listening to changes coming from react-native Appearance. I have a use-case where I have application-specific light/dark mode toggle overrides. If I understanding the implementation, it seems that you can manually set the color scheme, but if your system changes, it'll update to your system.
To Reproduce Steps to reproduce the behavior:
Expected behavior Once a manual color scheme has been set, NativeWind no longer changes based on the system.