revuoxmrtheme/layouts/partials/theme-switcher.html

7 lines
290 B
HTML
Raw Permalink Normal View History

2024-07-02 22:03:13 +00:00
<!--
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>