revuoxmrtheme/layouts/partials/theme-switcher.html
2024-07-02 15:03:13 -07:00

7 lines
No EOL
290 B
HTML

<!--
Unfortunately, targeting the parent is not a thing in CSS. This is a workaround.
-->
<input class="nojs-toggle" id="theme-switcher" type="checkbox" name="theme-switcher">
<label class="switch" for="theme-switcher" id="main-theme-switcher">
<span class="slider round"></span>
</label>