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.
I set this up as my own repo as I wasn't overly sure where things were happening at the time.
But also I did want to add the themeChanger to it too (for myself, but not sure if it should be in the official themes?)
Hello Shane, ça va, just been quite a bit busy recently 🙃 I attempted to remove the visible task on my end in November as well and I was able to do it too (😁). So I'll have a look at your solution here when I can.. I still have quite a lot on my plate, but I might as well prioritize this. Thanks for sharing!
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: