Commit Graph

13 Commits

Author SHA1 Message Date
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
7ed2435a4c refactor(theme): 迁移主题感知颜色至 ThemeExtension
- 创建 AppThemeColors ThemeExtension 类,统一管理主题感知颜色(涨跌色、卡片背景、渐变等)
- 从 AppColorScheme 移除主题感知辅助函数,仅保留静态颜色常量
- 在 AppTheme 中注册 ThemeExtension,支持深色/浅色主题工厂
- 重构所有 UI 组件使用 context.appColors 访问主题颜色,替代硬编码的 AppColorScheme 方法调用
- 移除组件中重复的 isDark 判断逻辑,简化颜色获取方式
- 保持向后兼容性,所有现有功能不变
2026-04-06 01:58:08 +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
02099d2a6a docs: relocate skills system documentation and refactor asset page components
Move skills system documentation from bottom to top of CLAUDE.md for better organization. Refactor Flutter asset page by extracting UI components into separate files and updating import structure for improved modularity.
2026-04-05 22:38:56 +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
ed25bb2da4 refactor: 优化字号主题体系,参考成熟交易平台标准
- 重构主题字号体系 (h1-h4, body, amount等)
- 修复16个页面文件中的硬编码字号
- 新字号层级参考币安/OKX标准
- Display: 22/20/18px (总资产、价格)
- Headline: 15/14/13px (标题、副标题)
- Body: 13/12/11px (正文、辅助文字)
- Label: 11/10/9px (标签)
- Number: 22/16/13px (数字)
2026-04-01 12:49:17 +08:00
ed98db66cf fix: 修复划转页面卡片互换动画效果
- 重写 AnimatedSwitcher 实现,移除多余的 Container 包裹
- 直接在 _buildAccountCard 上设置 ValueKey
- 使用 SlideTransition + FadeTransition 组合
- 上方卡片从上滑入,下方卡片从下滑入
- 动画时长 300ms,easeInOut 曲线
- 动画效果更流畅自然,卡片互换位置清晰可见
2026-03-30 11:52:35 +08:00
e3c5a0b24d feat: 为划转页面账户卡片添加位置互换动画
- 移除按钮旋转动画,保持按钮静止
- 两个账户卡片(从/到)平滑互换位置
- 使用 AnimatedSwitcher + FadeTransition + SlideTransition
- 动画时长 300ms,easeOut 曲线
- 上方卡片向上滑出,下方卡片向下滑入
- 视觉效果更流畅自然
2026-03-30 11:47:07 +08:00
9920a29261 feat: 为划转页面切换按钮添加旋转动画
- 添加 180° 旋转动画效果
- 使用 CurvedAnimation 实现平滑过渡
- 动画时长 300ms,使用 easeInOut 曲线
- 提升用户体验,交互更流畅自然
2026-03-30 11:41:37 +08:00
a3a2ae76fc feat: 为划转页面确认按钮添加图标
- 添加 LucideIcons.arrowRightLeft 图标到确认按钮
- 加载状态时自动隐藏图标
- 提升用户体验和视觉识别度
2026-03-30 11:38:04 +08:00
9f56be7450 fix: 优化充值提现和划转界面
- 充值提现弹框: 去掉透明效果,改为实心背景,确保可读性
- 划转界面: 重构为币安风格,账户选择更清晰,交互更自然
- 交易界面: 充值/提现/划转按钮去掉图标,只保留文字
- 整体提升专业金融感
2026-03-30 03:49:31 +08:00
sion
a5d2ca1b5d 111 2026-03-28 18:21:33 +08:00
a1cec2bc34 优化 2026-03-27 20:40:51 +08:00