From e5b0c2a07ac391b7371b0ca58bb624a16c2e9542 Mon Sep 17 00:00:00 2001 From: JP Date: Thu, 5 Dec 2024 17:13:01 +0100 Subject: [PATCH] finalising darktheme v1 --- views/components/headbar/headbar.templ | 31 ++++++++++++++++++-------- views/layouts/dashboard_layout.templ | 4 ++-- 2 files changed, 24 insertions(+), 11 deletions(-) diff --git a/views/components/headbar/headbar.templ b/views/components/headbar/headbar.templ index ec67765..e4e6db1 100644 --- a/views/components/headbar/headbar.templ +++ b/views/components/headbar/headbar.templ @@ -31,7 +31,7 @@ templ themeButton() { -
+
{ children... }
@@ -76,15 +78,26 @@ templ DesktopHeaderBar() { } templ MobileHeaderBar(homePageLink string) { -
+
- SOARCA -
-
diff --git a/views/layouts/dashboard_layout.templ b/views/layouts/dashboard_layout.templ index e0d5d32..9bcaec4 100644 --- a/views/layouts/dashboard_layout.templ +++ b/views/layouts/dashboard_layout.templ @@ -64,10 +64,10 @@ templ DashboardLayout() { }
@headbar.DesktopHeaderBar() { - @renderLinks(headBarlinks, "block px-4 py-2 account-link hover:text-v-blue-deep") + @renderLinks(headBarlinks, "block px-4 py-2 account-link hover:text-blue-600 dark:hover:opacity-100") } @headbar.MobileHeaderBar(dashboardPath) { - @renderLinks(headBarlinks, "block px-4 py-2 account-link rounded-lg hover:bg-blue-800 hover:text-white") + @renderLinks(headBarlinks, "block px-4 py-2 account-link rounded-lg hover:text-white dark:hover:opacity-100") }