From 95535f02f8abaca2ae3829d86aae75c5bf6d6e54 Mon Sep 17 00:00:00 2001 From: chiyi Date: Mon, 20 Jul 2026 23:07:21 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E9=82=AE=E7=AE=B1tag?= =?UTF-8?q?=E9=A2=9C=E8=89=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/style.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/frontend/src/style.css b/frontend/src/style.css index 5392568..4dd1e56 100644 --- a/frontend/src/style.css +++ b/frontend/src/style.css @@ -108,6 +108,11 @@ html:not(.dark) .theme-text :is(.fp, .pg, .act, .filter-pill, .kind-btn, .preset color: var(--fg); background: var(--hover); } html:not(.dark) .theme-text :is(.fp-on, .pg-on, .seg-on, .opt-on) { background: rgb(15 23 42); color: #fff; box-shadow: none; } +/* Tag chips (TagInput) — near-white violet text is unreadable on white; keep + the violet tint but switch the label to dark ink. */ +html:not(.dark) .theme-text .chip { color: rgb(15 23 42 / 0.9); } +html:not(.dark) .theme-text .chip .chip-x { color: rgb(15 23 42 / 0.55); background: transparent; box-shadow: none; } +html:not(.dark) .theme-text .chip .chip-x:hover { color: #fff; background: rgb(244 63 94 / 0.6); } /* ShowcaseView marks the selected filter/kind tab with an `.on` modifier on `.filter-pill`/`.kind-btn` (not the `-on` class above). Without this, the neutral `.filter-pill`/`.kind-btn` rescue paints selected == unselected and