From 8dbabc2d9e44303b25275d55a93ecb4cdc06fb65 Mon Sep 17 00:00:00 2001 From: LyAhn Date: Mon, 29 Jun 2026 16:50:40 +0100 Subject: [PATCH] fix: match tag cloud hover glow to dark mode in light theme Replace the flat background hover override with a dark warm radial gradient on the ::before pseudo-element, mirroring the same elliptical glow effect used in dark mode. --- src/index.css | 9 +++++++-- website/package.json | 2 +- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/index.css b/src/index.css index d79b1dd..c353603 100644 --- a/src/index.css +++ b/src/index.css @@ -209,8 +209,13 @@ html[data-theme="subtle-light"] .explore-cluster-count { color: #ffffff !important; } -html[data-theme="subtle-light"] .explore-tag-word:hover { - background: #e8e2d6 !important; +html[data-theme="subtle-light"] .explore-tag-word::before { + background: radial-gradient( + ellipse at center, + rgba(60, 50, 30, 0.13), + rgba(60, 50, 30, 0.05) 46%, + rgba(60, 50, 30, 0) 72% + ) !important; } html[data-theme="subtle-light"] .explore-spinner { diff --git a/website/package.json b/website/package.json index 9d05845..9bc7cf1 100644 --- a/website/package.json +++ b/website/package.json @@ -4,8 +4,8 @@ "version": "0.0.0", "type": "module", "scripts": { - "dev": "vite", "build": "tsc && vite build", + "dev": "vite", "preview": "vite preview", "typecheck": "tsc --noEmit" },