fix(ui): Brand 标记的前景改用卡片底色
深色下 --su-text-main 是近白色,写死的白字会整块糊掉; 改成 color: var(--su-bg-card) 后浅色仍是白字、深色自动变成深字。
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user