Implement light and dark mode in react-native with react-native-navigation #3236
Unanswered
denysoleksiienko
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, everyone!
Could someone explain how to implement light/dark theming in
react-native
app withreact-native-navigation
? I use@emotion/react @emotion/native
for styled. I understand I need a switch and store the selected theme (example into AsyncStorage) and pass the theme intoNavigationContainer
from'@react-navigation/native'
?My example colors:
App:
Beta Was this translation helpful? Give feedback.
All reactions