What is the right way to put the page or App in 'Dark' mode? #2804
HDAlbarenque
announced in
Q&A
Replies: 1 comment
-
The color mode is "sticky". If you load the app with This comes up often enough though, that i think we'll consider NOT making the default sticky, even though it might make the implementation a little more complicated internally. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Following the example of the official documentation, change "light" by "dark", leaving the code as follows:
app = rx.App( theme=rx.theme( appearance="dark", has_background=True, radius="large", accent_color="teal" ) )
But the page continues to be seen in "Light" mode.
I am looking for documentation, but I can't find anything else.
What am I wrongly interpreting?
reflex = 0.4.3
Beta Was this translation helpful? Give feedback.
All reactions