Add theme toggle back and default to 'auto'

This commit is contained in:
Dave Gallant
2024-01-12 16:55:10 -05:00
parent 24ad44a9ec
commit b913e9b4a3
5 changed files with 69 additions and 22 deletions

View File

@@ -52,4 +52,11 @@
</div>
</nav>
<button class="theme__toggle light--hidden" aria-label="Toggle light mode">
{{ partial "icons/tabler-icon.html" "sun" }}
</button>
<button class="theme__toggle dark--hidden" aria-label="Toggle dark mode">
{{ partial "icons/tabler-icon.html" "moon" }}
</button>
</header>