feat: theme toggle

This commit is contained in:
Per Stark
2025-01-18 09:52:39 +01:00
parent 730df164cd
commit 4f2a08b610
6 changed files with 3712 additions and 5 deletions

View File

@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="en" data-theme="dark">
<html lang="en" data-theme="light">
<head>
<meta charset="UTF-8">
@@ -17,6 +17,7 @@
<!-- Scripts -->
<script src="assets/htmx.min.js" defer></script>
<script src="assets/theme-toggle.js" defer></script>
<!-- Icons -->
<link rel="icon" href="/assets/icon/favicon.ico">
@@ -28,6 +29,7 @@
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
{% block head %}{% endblock %}
</head>
{% block body %}{% endblock %}