fix(team): banner 数值显式 white · 被 restraint.css 全局 .stat .v 黑字覆盖了
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 5s

This commit is contained in:
UI 设计 2026-05-21 17:10:51 +08:00
parent 868ba69ea4
commit 5d09ba72fd

View File

@ -49,6 +49,8 @@
.banner-stats .stat { min-width: 0; }
.banner-stats .stat .lbl { font-family: var(--font-mono); font-size: 10.5px; color: rgba(255,255,255,.55); letter-spacing: .06em; text-transform: uppercase; }
.banner-stats .stat .v { font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -.012em; margin-top: 6px; }
/* color 必须显式写,否则会被 restraint.css 全局 .stat .v 的 color: var(--accent-black) 覆盖成黑字 */
.banner-stats .stat .v { color: var(--accent-white); }
.banner-stats .stat .v.warn { color: #FFB870; }
.banner-stats .stat .sub { font-size: 11px; color: rgba(255,255,255,.5); margin-top: 4px; font-family: var(--font-mono); letter-spacing: .02em; }