add true deployment on taskfile, fix new light theme and catppuccin theme

This commit is contained in:
2026-08-23 23:30:38 +01:00
parent d9a0cd749e
commit d8fcc2c35c
5 changed files with 225 additions and 397 deletions
+12 -7
View File
@@ -5,10 +5,15 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Live Inventory CDC Demo — FLÓ</title>
<!-- Load Noto Sans -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans:wght@300;400;500;700&display=swap" rel="stylesheet">
<script>
(function () {
var stored = localStorage.getItem('poc-theme');
var theme = stored || (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'tokyo' : 'light');
var theme = stored || (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'macchiato' : 'light');
document.documentElement.setAttribute('data-theme', theme);
})();
</script>
@@ -126,13 +131,13 @@
</aside>
</main>
<footer>
<span>&copy; <script>document.write(new Date().getFullYear())</script> <a href="https://fló.fo">FLÓ.FO</a> | {{ .Version }}</span>
</footer>
<footer>
<span>&copy; <script>document.write(new Date().getFullYear())</script> <a href="https://fló.fo">FLÓ.FO</a> | {{ .Version }}</span>
</footer>
<button class="theme-toggle" id="theme-toggle" aria-label="Toggle theme"></button>
<button class="theme-toggle" id="theme-toggle" aria-label="Toggle theme"></button>
<script src="/static/js/theme.js"></script>
<script src="/static/js/app.js"></script>
<script src="/static/js/theme.js"></script>
<script src="/static/js/app.js"></script>
</body>
</html>