From 7b934295c6d69bee5e6effe6fea3d0b2b7a3d39c Mon Sep 17 00:00:00 2001 From: Haelnorr Date: Sat, 7 Mar 2026 11:53:49 +1100 Subject: [PATCH] removed theme switcher, always uses dark theme --- internal/embedfs/web/css/output.css | 11 --------- internal/view/baseview/footer.templ | 38 +---------------------------- internal/view/baseview/layout.templ | 7 +----- 3 files changed, 2 insertions(+), 54 deletions(-) diff --git a/internal/embedfs/web/css/output.css b/internal/embedfs/web/css/output.css index b9f0c88..555f0fd 100644 --- a/internal/embedfs/web/css/output.css +++ b/internal/embedfs/web/css/output.css @@ -341,9 +341,6 @@ .mt-1 { margin-top: calc(var(--spacing) * 1); } - .mt-1\.5 { - margin-top: calc(var(--spacing) * 1.5); - } .mt-2 { margin-top: calc(var(--spacing) * 2); } @@ -570,9 +567,6 @@ .w-80 { width: calc(var(--spacing) * 80); } - .w-fit { - width: fit-content; - } .w-full { width: 100%; } @@ -2322,11 +2316,6 @@ display: flex; } } - .lg\:inline { - @media (width >= 64rem) { - display: inline; - } - } .lg\:grid-cols-2 { @media (width >= 64rem) { grid-template-columns: repeat(2, minmax(0, 1fr)); diff --git a/internal/view/baseview/footer.templ b/internal/view/baseview/footer.templ index 29b2503..3347c50 100644 --- a/internal/view/baseview/footer.templ +++ b/internal/view/baseview/footer.templ @@ -15,7 +15,7 @@ func getFooterItems() []FooterItem { // Returns the template fragment for the Footer templ Footer() { @@ -91,38 +90,3 @@ templ footerCopyright() {

} - -templ themeSelector() { -
-
- - - -
-
-} diff --git a/internal/view/baseview/layout.templ b/internal/view/baseview/layout.templ index 4e36144..96a0c3c 100644 --- a/internal/view/baseview/layout.templ +++ b/internal/view/baseview/layout.templ @@ -11,13 +11,8 @@ templ Layout(title string) { - { title } @@ -34,7 +29,7 @@ templ Layout(title string) { }