From 7ab6159c7fffb99c6b594e10b3d60c27fe02f965 Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Sat, 28 Jan 2023 23:21:42 +0100 Subject: Fixed theme chooser not displayed upon first connection and some cleanup --- assets/base.css | 3 --- layouts/partials/nav.html | 4 ++-- layouts/partials/themeSwitcher.html | 6 +++--- 3 files changed, 5 insertions(+), 8 deletions(-) diff --git a/assets/base.css b/assets/base.css index cb62dec..ae3d0c0 100644 --- a/assets/base.css +++ b/assets/base.css @@ -1,5 +1,4 @@ .black-theme { - /* Black mode */ --bg-0: #181818; --bg-1: #252525; --bg-2: #3b3b3b; @@ -24,7 +23,6 @@ --br_violet: #b891f5; } .dark-theme { - /* Dark mode */ --bg-0: #103c48; --bg-1: #184956; --bg-2: #2d5b69; @@ -49,7 +47,6 @@ --br_violet: #bd96fa; } .light-theme { - /* Light mode */ --bg-0: #fbf3db; --bg-1: #ece3cc; --bg-2: #d5cdb6; diff --git a/layouts/partials/nav.html b/layouts/partials/nav.html index 9a63b34..a86bd73 100644 --- a/layouts/partials/nav.html +++ b/layouts/partials/nav.html @@ -14,12 +14,12 @@ {{- end -}} {{- $url := urls.Parse .URL -}} {{- $baseurl := urls.Parse $.Site.Params.Baseurl -}} - {{ end }}
  • - diff --git a/layouts/partials/themeSwitcher.html b/layouts/partials/themeSwitcher.html index 902d8e3..9781878 100644 --- a/layouts/partials/themeSwitcher.html +++ b/layouts/partials/themeSwitcher.html @@ -1,15 +1,15 @@