fix(ui): force css refresh and simplify source paths

This commit is contained in:
2026-04-25 22:29:16 +02:00
parent da8e8b8b15
commit bebdbc5938
2 changed files with 2 additions and 3 deletions

View File

@@ -2,8 +2,7 @@
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600;9..40,700&display=swap');
@import '@toolwind/anchors';
@source "../internal/**/*.templ";
@source "../web/**/*.templ";
@source "..";
:root {
color-scheme: light dark;

View File

@@ -13,7 +13,7 @@ templ Layout(title string, showHeader bool) {
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>{ title }</title>
<link rel="icon" type="image/svg+xml" href="/static/favicon.svg"/>
<link rel="stylesheet" href="/dist/tailwind.css"/>
<link rel="stylesheet" href="/dist/tailwind.css?v=1.0.1"/>
<script src="https://unpkg.com/htmx.org@1.9.11" integrity="sha384-0gxUXCCR8yv9FM2b+U3FDbsKthCI66oH5IA9fHppQq9DDMHuMauqq1ZHBpJxQ0J0" crossorigin="anonymous"></script>
<script>
var t = localStorage.getItem('theme');