No client-side Javascript allowed! #125
Janaka-Steph
started this conversation in
General
Replies: 1 comment 1 reply
-
Thanks for your thoughts! I think some people would find this helpful. Yes! I do think this is doable. It's just a matter of crafting a specific selector for the checked checkbox :) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I would like to have a theme toggle that works even when no client-side Javascript is allowed!
I saw that I can specify a selector. I was thinking it could be based on a hidden checkbox input which has two states: checked / not checked. If checked => darkmode, not checked => light mode.
Do you think it is doable?
Beta Was this translation helpful? Give feedback.
All reactions