How to implement dark mode toggle? #1789
Answered
by
MuhammedKpln
hexdecimal16
asked this question in
Q&A
-
I want to provide dark mode toggle in the app as a setting. Currently I am able to switch between dark mode and light mode by changing it from android settings. How to also provide it as an toggle option in settings? |
Beta Was this translation helpful? Give feedback.
Answered by
MuhammedKpln
Jan 26, 2022
Replies: 1 comment 1 reply
-
Using schemes. You'll need a custom theme colors for each theme
Then afterwards you can use
For toggling between dark mode |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
ethanshar
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Using schemes.
You'll need a custom theme colors for each theme
Then afterwards you can use
For toggling between dark mode