-
I've realize that the documentation always flashes the light theme then switches to the dark theme. Is that just a problem with the documentation site or is the how the themes work in Mantine itself? The theme variable is stored as dark but why does the page flash the light theme before setting it to dark? Maybe bug? I don't know I just find it a bit confusing. I've only just began reading about Mantine so I haven't exactly used it yet so I just wanted to know if that's the case. PS: Pretty cool looking library btw. You guys are doing an amazing job. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
Documentation website is prerendered with Gatsby. If you want to avoid color scheme flashes, you should store color scheme in cookie like described in the dark theme guide – https://mantine.dev/theming/dark-theme/#save-color-scheme-in-cookie |
Beta Was this translation helpful? Give feedback.
Documentation website is prerendered with Gatsby. If you want to avoid color scheme flashes, you should store color scheme in cookie like described in the dark theme guide – https://mantine.dev/theming/dark-theme/#save-color-scheme-in-cookie