Ver Fonte

refactor: amountPositive 改为品牌蓝 (#1D7AB5),区分 success 语义

chengc há 1 semana atrás
pai
commit
d4bbd606f1

+ 1 - 1
docs/superpowers/specs/tboss-oa-design.md

@@ -1117,7 +1117,7 @@
 
 | Token | 亮色 | 深色 | 用途 |
 |-------|------|------|------|
-| `--amount-positive` | `#0EA371` | `#22C55E` | 正向金额 |
+| `--amount-positive` | `#1D7AB5` | `#5BB8F0` | 正向金额(品牌蓝,区分 success) |
 | `--amount-negative` | `#DC2626` | `#EF4444` | 负向金额/超支 |
 | `--amount-neutral` | `#6B7280` | `#A6A6A6` | 普通数值 |
 

+ 2 - 2
lib/core/theme/app_colors.dart

@@ -68,7 +68,7 @@ class AppColors {
   // ═══════════════════════════════════════════
   //  金额色(独立于成功/危险语义)
   // ═══════════════════════════════════════════
-  static const Color amountPositive = Color(0xFF0EA371); // 正金额
+  static const Color amountPositive = Color(0xFF1D7AB5); // 正金额(品牌蓝,区分 success)
   static const Color amountNegative = Color(0xFFDC2626); // 负金额/超支
   static const Color amountNeutral = Color(0xFF6B7280);  // 普通数值
 
@@ -173,7 +173,7 @@ class AppDarkColors {
   static const Color dangerBg = Color(0xFF2D0A0A);
 
   // ── 金额色 ──
-  static const Color amountPositive = Color(0xFF22C55E);
+  static const Color amountPositive = Color(0xFF5BB8F0); // 正金额(亮蓝,适配深色底)
   static const Color amountNegative = Color(0xFFEF4444);
   static const Color amountNeutral = Color(0xFFA6A6A6);
   static const Color amountPrimary = amountPositive;