From 50056a71547dcdd3291e30f003c8c0ce808cdb21 Mon Sep 17 00:00:00 2001 From: CNWei Date: Sun, 1 Nov 2026 15:41:18 +0800 Subject: [PATCH] =?UTF-8?q?fix(ui):=20Brand=20=E6=A0=87=E8=AE=B0=E7=9A=84?= =?UTF-8?q?=E5=89=8D=E6=99=AF=E6=94=B9=E7=94=A8=E5=8D=A1=E7=89=87=E5=BA=95?= =?UTF-8?q?=E8=89=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 深色下 --su-text-main 是近白色,写死的白字会整块糊掉; 改成 color: var(--su-bg-card) 后浅色仍是白字、深色自动变成深字。 --- src/components/Brand.module.css | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/Brand.module.css b/src/components/Brand.module.css index 28964b2..b101ba3 100644 --- a/src/components/Brand.module.css +++ b/src/components/Brand.module.css @@ -13,8 +13,10 @@ width: 32px; height: 32px; border-radius: var(--su-radius-pill); + /* 前景取卡片底色而不是写死白色:深色下 text-main 变成近白色, + 再配白字就整块糊掉了 */ background-color: var(--su-text-main); - color: var(--su-white); + color: var(--su-bg-card); font-size: var(--su-font-size-base); font-weight: var(--su-font-weight-strong); }