You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I go to the Qwik UI Website it forces light mode (although I have prefers dark mode)
Then when I change to dark mode, refresh the page I have to click the theme toggler twice to change from dark.
On click 1 it changes the class from "dark" to "dark",
On click 2 it changes from "dark" to "light"
2 issues:
Prefers color scheme preferences should be adhered to
Theme toggler should require only 1 click to change themes.
I thought I knew where the bug was coming from but this seems to be coming from
"qwik-themes": "^0.2.0" package.
Salut Maïeul, ce va?
(my French is very rusty)
So I think I've solved some of the bugs from the qwik-themes repo.
I did fork it, but I disconnected the upstream as I wasn't sure if it was still maintained etc..
I haven't tested how well this plays with Brutalist etc just yet,
I did want to focus on getting light-dark working first and then expand the scope out.
Which package is affected?
Documentation Website
Describe the bug
When I go to the Qwik UI Website it forces light mode (although I have prefers dark mode)
Then when I change to dark mode, refresh the page I have to click the theme toggler twice to change from dark.
On click 1 it changes the class from "dark" to "dark",
On click 2 it changes from "dark" to "light"
2 issues:
I thought I knew where the bug was coming from but this seems to be coming from
"qwik-themes": "^0.2.0" package.
As a note: the Qwik Cookbook theme-management page has a similar bug.
Reproduction
https://qwikui.com/
Steps to reproduce
System Info
Additional Information
No response
The text was updated successfully, but these errors were encountered: