统一界面令牌与交互语义

Co-Authored-By: Kimi-K3.1-Pro <noreply@moonshot.ai>
This commit is contained in:
lik
2026-10-24 18:55:23 +08:00
committed by trae-solo-agent
co-authored by Kimi-K3.1-Pro
parent a45a3d7a86
commit 1181d598b4
16 changed files with 35 additions and 66 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ Component({
data: {
selected: 0, // 当前选中项,由各 tab 页在 onShow 里同步
activeColor: '#B8520A', // 选中:暖橙(色相 25°、保住原亮度),白底 4.94:1,过 WCAG AA 正文标准
inactiveColor: '#7A7068', // 未选中:暖灰,白底 4.83:1,过 WCAG AA 正文标准
inactiveColor: '#6F655C', // 未选中:与全局 --muted 一致,白底 5.69:1,过 WCAG AA 正文标准
list: [{
pagePath: '/pages/home/index',
text: '首页',
+2 -1
View File
@@ -25,7 +25,8 @@
/* 与全局约束一致:中文正文不小于 24rpx(12px) */
font-size: 24rpx;
line-height: 1;
color: #7A7068;
/* 与全局 --muted 一致的硬编码(独立组件读不到 page 级变量) */
color: #6F655C;
}
.tab-item.is-active .tab-text {