init darkmode pretty toggle
This commit is contained in:
parent
a05454e5f2
commit
df35f5e736
4 changed files with 244 additions and 139 deletions
|
|
@ -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 %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue