258653cac4
fix: 修复充值/提现图标含义错误
...
## 问题
- 充值显示 arrowUpRight(右上箭头),看起来像禁止符号
- 提现显示 arrowDownLeft(左下箭头),含义不直观
## 修复(2个文件)
### quick_actions_row.dart(首页快捷操作)
- 充值:arrowUpRight → arrowDownToLine(箭头向下到底线,资金入账)
- 提现:arrowDownLeft → arrowUpFromLine(箭头向上离开底线,资金转出)
### action_buttons_row.dart(资产页面操作按钮)
- 充值:arrowUpRight → arrowDownToLine
- 提现:arrowDownLeft → arrowUpFromLine
## 检查结果
✅ 底部导航图标全部正确(首页/行情/交易/资产/我的)
✅ 其他页面图标全部正确(划转/盈亏/账单等)
✅ 71处 LucideIcons 使用全部语义匹配
2026-04-08 13:09:43 +08:00
658f49e280
refactor: 批量替换 shadcn_ui 为 Material Design 组件
...
## 样式主题重点优化
### 颜色映射(注重主题一致性)
- mutedForeground → onSurfaceVariant
- border → outline
- card → surfaceContainer
- destructive → error
- 保留所有 AppColorScheme 自定义颜色
### 文本样式映射
- theme.textTheme.h1/muted/large → AppTextStyles.xxx(context)
- 统一使用项目定义的文本样式系统
### 组件替换(20个文件)
- ShadApp → MaterialApp(移除 ShadThemeData)
- ShadButton → ElevatedButton/OutlinedButton
- ShadDialog → AlertDialog
- ShadInputFormField → MaterialInput
- ShadSelect → DropdownButtonFormField
- ShadCard → Card
- showShadDialog → showDialog
### 依赖变更
- 移除:shadcn_ui: ^0.52.1
- 添加:lucide_icons_flutter: ^2.0.0
### 业务逻辑保护
✅ 所有 onPressed/onChanged/validator 回调保持不变
✅ 所有 controller/focusNode 数据绑定保持不变
✅ 所有布局结构(Column/Row/Padding)保持不变
✅ 仅替换 UI 组件层,业务逻辑完全保留
2026-04-08 12:24:24 +08:00
sion
5ca1274607
111
2026-04-07 01:05:05 +08:00
sion
d4b0c6c128
111
2026-04-06 10:43:01 +08:00
951d597057
fix(ui): 对齐所有页面样式到 Pencil 设计规范
...
transfer_page.dart:
- 金色主题统一(Light: secondary #F59E0B, Dark: primary #D4AF37)
- 修复交换按钮和确认按钮颜色
home_page.dart:
- Asset Card 圆角 14px
- 总资产字号 28px (displayLarge)
- "预估总资产"字号 13px (bodyLarge)
- 盈亏标签/数值字重调整
quick_actions_row.dart:
- padding 统一为 16px
welfare_center_page.dart:
- _statusBadge padding [6, 14]
trade_form_card.dart / price_card.dart:
- 样式细节对齐
2026-04-06 03:57:00 +08:00
d09c1a2061
fix(ui): 对齐首页样式到 Pencil 设计规范
...
- Asset Card: padding 20px (was 24px)
- 充值按钮: cornerRadius 6px, padding [5,10], icon 13px, text 12px
- Quick Actions: 边框颜色 Light #E2E8F0, Dark #1E293B
- Quick Action Icons: 背景色 Light #F3F4F6, Dark #1E293B
- Quick Action Icons: 图标色 Light #4B5563
- cornerRadius: -lg (14px) for cards
2026-04-06 03:45:13 +08:00
cc4d36d374
refactor(ui): 移除快捷操作栏盈亏按钮,今日盈亏/总盈亏卡片已有点击跳转
2026-04-06 03:15:32 +08:00
f5ac578892
docs(theme): update documentation and clean up deprecated color scheme definitions
...
Removed outdated compatibility aliases and deprecated methods from AppColorScheme,
and updated CLAUDE.md to reflect new theme system requirements with centralized
color management and no hard-coded values in UI components.
2026-04-05 23:37:27 +08:00
d8cd38c4de
feat(theme): update color scheme with new Slate theme and improved surface hierarchy
...
Updated the app's color scheme to implement a new "Slate" theme with refined dark and light variants. Changed background colors from #0A0E14 to #0B1120 for dark mode and updated surface layer colors to follow Material Design 3 specifications. Modified text colors and outline variants for better contrast and accessibility. Updated font sizes in transaction details screen from 11px to 12px for improved readability.
2026-04-05 22:24:04 +08:00