Skip to content
Discussion options

You must be logged in to vote

Hello @DrWenz,

The issue you’re experiencing is expected behavior. This happens because, in the code below, the theme value is explicitly set to "dark." When your system is already in dark mode by default, changing the theme using this controller may not have any visible effect.

<input type="checkbox" value="dark" class="checkbox theme-controller" />

I hope this clarifies your doubt.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by PruthviPraj00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants