feat(ui06): App line A0-A7 — nav pill removal, light segments, bare summary, token alignment to app-preview

- tokens:次文字 #69778E、soft/card-border/seg 色组、输入圆角 10(kRadiusField)
- theme:导航 indicatorColor 透明+显式选中蓝;卡片去阴影改 1px #EDF0F5 边框;输入边框同步
- 新组件 SegmentTabs(#EDF1F6 轨道/选中实蓝/light 浅蓝变体/null 无高亮)替换 M3 SegmentedButton
- 上传中心:摘要去白卡直排+主数字 32/40;completed 次级筛选无高亮语义保留
- 相册卡 scrim 30% 起 #0C1728E8;导航角标红底白字白边;登录主标题 27/700
- theme_test 三处旧规格断言随 UI06 值更新;397/397 全绿、analyze 0 issues
- 真机证据:MuMu + 测试服务器 API,登录/相册/详情/上传 4 页截图确认达标
- 登记偏差:语义色保持对比度合规深色版;视口矩阵随 G2;详见验收记录 §6

Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
浅念
2026-09-23 08:09:20 +08:00
parent 8dc0073597
commit 6074fc8ed3
13 changed files with 320 additions and 141 deletions
+6 -9
View File
@@ -31,7 +31,7 @@ void main() {
expect(AppTheme.light.dividerTheme.color, kColorDivider);
expect(kColorDivider, const Color(0xFFE5EAF1));
expect(scheme.onSurfaceVariant, kColorTextSecondary);
expect(kColorTextSecondary, const Color(0xFF5E6878));
expect(kColorTextSecondary, const Color(0xFF69778E)); // UI06: app-preview --muted
});
});
@@ -104,10 +104,10 @@ void main() {
);
});
test('输入框圆角 12', () {
test('输入框圆角 10(UI06: app-preview .field)', () {
final border = theme.inputDecorationTheme.border as OutlineInputBorder;
expect(border.borderRadius, BorderRadius.circular(kRadiusInput));
expect(kRadiusInput, 12);
expect(border.borderRadius, BorderRadius.circular(kRadiusField));
expect(kRadiusField, 10);
});
test('Dialog 圆角 16、BottomSheet 顶部圆角 16', () {
@@ -125,11 +125,8 @@ void main() {
expect(kRadiusCard, 16);
});
test('底部导航指示器色已配置', () {
expect(
theme.navigationBarTheme.indicatorColor,
theme.colorScheme.secondaryContainer,
);
test('底部导航无胶囊指示器(UI06: app-preview .nav)', () {
expect(theme.navigationBarTheme.indicatorColor, Colors.transparent);
});
});