From 598e842b2ca6e2f3f355d65dcc069664e7754911 Mon Sep 17 00:00:00 2001 From: mkelvers Date: Fri, 15 May 2026 01:09:29 +0200 Subject: [PATCH] feat: tweak theme colors and streamline sidebar chrome --- static/assets/style.css | 22 ++--- templates/anime.gohtml | 14 +-- templates/base.gohtml | 37 +------- templates/components/README.md | 2 +- templates/components/header.gohtml | 91 ------------------- templates/components/navigation.gohtml | 12 +-- templates/components/watchlist_actions.gohtml | 3 +- templates/watchlist.gohtml | 2 +- 8 files changed, 27 insertions(+), 156 deletions(-) delete mode 100644 templates/components/header.gohtml diff --git a/static/assets/style.css b/static/assets/style.css index 5520eb5..7b31ef1 100644 --- a/static/assets/style.css +++ b/static/assets/style.css @@ -6,19 +6,19 @@ @source "../**/*.ts"; @theme { - --color-background: light-dark(#ffffff, #080808); - --color-background-sidebar: light-dark(#fafaf9, #0f0f0f); - --color-background-header: light-dark(#ffffff, #141414); - --color-background-surface: light-dark(#f5f5f4, #202020); - --color-background-button: light-dark(#ffffff, #1a1a1a); - --color-background-button-hover: light-dark(#f5f5f4, #252525); + --color-background: light-dark(#fbfcff, #0b0c10); + --color-background-sidebar: light-dark(#f8fafc, #0f1115); + --color-background-header: light-dark(#fbfcff, #0f1115); + --color-background-surface: light-dark(#f3f4f6, #17181c); + --color-background-button: light-dark(#ffffff, #131417); + --color-background-button-hover: light-dark(#f3f4f6, #1c1d22); - --color-foreground-muted: light-dark(#6b7280, #6a6b70); - --color-foreground: light-dark(#1f2937, #f8f9fa); + --color-foreground-muted: light-dark(#6b7280, #9ca3af); + --color-foreground: light-dark(#111827, #f3f4f6); - --color-accent: #0466c8; - --color-border: light-dark(rgba(0, 0, 0, 0.08), rgba(255, 255, 255, 0.08)); - --color-surface-hover: light-dark(rgba(0, 0, 0, 0.04), rgba(255, 255, 255, 0.04)); + --color-accent: #d97706; + --color-border: light-dark(rgba(17, 24, 39, 0.08), rgba(243, 244, 246, 0.08)); + --color-surface-hover: light-dark(rgba(17, 24, 39, 0.04), rgba(243, 244, 246, 0.04)); } :root { diff --git a/templates/anime.gohtml b/templates/anime.gohtml index 2c49b48..5761018 100644 --- a/templates/anime.gohtml +++ b/templates/anime.gohtml @@ -43,7 +43,7 @@ {{if .WatchlistIDs}}{{end}} {{$anime := .Anime}} -
+
@@ -123,20 +123,12 @@ {{end}} - {{if $anime.Background}} -
-

Background

-
- {{$anime.Background}} -
-
- {{end}}
diff --git a/templates/base.gohtml b/templates/base.gohtml index b80cb9c..48ea40b 100644 --- a/templates/base.gohtml +++ b/templates/base.gohtml @@ -67,25 +67,12 @@ {{end}} -
+

Watchlist