Is there a way to set the theme to dark before the first render? #7848
Closed
adomas-zitkus
started this conversation in
General
Replies: 2 comments
-
|
you can achieve that by setting the https://stackblitz.com/edit/github-ykfpimrs?file=index.html%3AL10 |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Thank you! |
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
Uh oh!
There was an error while loading. Please reload this page.
-
I don't see a way to set a default theme. Maybe I'm missing something.
The issue I'm having is that I have to wait for the first render to complete for the set theme call to have an effect. This causes a flash from light to dark theme.
Beta Was this translation helpful? Give feedback.
All reactions