init darkmode pretty toggle

This commit is contained in:
gws 2024-11-09 20:49:46 +01:00
parent a05454e5f2
commit df35f5e736
4 changed files with 244 additions and 139 deletions

View file

@ -42,10 +42,13 @@
<button _="on click toggle .dark on the closest <body/>"> toggle </button>
<div class='toggle-switch'>
<label>
<input type='checkbox'>
<span class='slider'></span>
</label>
</div>
</nav>
{% endmacro render_header %}