-
Notifications
You must be signed in to change notification settings - Fork 54
Description
Describe the feature
It'd be nice to automatically be able to accommodate a user's preferred light/dark theme preferences.
Perhaps, simplifying the check of uiMode && UI_MODE_NIGHT_MASK on Android and traitCollection.userInterfaceStyle on iOS.
These both have undefined/unspecified, light, and dark/night.
Unfortunately, the built-in react-native uiMode doesn't give this information.
Motivation
With iOS 13 and Android Q making this sort of theming more integrated (and Google and Apple's own apps supporting the ability to switch at the OS level), it'd be nice to automatically detect what theme the user wants.
I'd rather not force a user to fumble through app settings to configure the theme if they've already got an option to specify it at the OS level.
Related Issues
I didn't see any at first glance, but I may have missed them.