Commit Graph

6 Commits

Author SHA1 Message Date
sion
5ca1274607 111 2026-04-07 01:05:05 +08:00
cc4d36d374 refactor(ui): 移除快捷操作栏盈亏按钮,今日盈亏/总盈亏卡片已有点击跳转 2026-04-06 03:15:32 +08:00
7ed2435a4c refactor(theme): 迁移主题感知颜色至 ThemeExtension
- 创建 AppThemeColors ThemeExtension 类,统一管理主题感知颜色(涨跌色、卡片背景、渐变等)
- 从 AppColorScheme 移除主题感知辅助函数,仅保留静态颜色常量
- 在 AppTheme 中注册 ThemeExtension,支持深色/浅色主题工厂
- 重构所有 UI 组件使用 context.appColors 访问主题颜色,替代硬编码的 AppColorScheme 方法调用
- 移除组件中重复的 isDark 判断逻辑,简化颜色获取方式
- 保持向后兼容性,所有现有功能不变
2026-04-06 01:58:08 +08:00
6822e92536 feat(theme): migrate to new theme system with static color methods
- Convert instance methods to static methods in AppColorScheme for
  getChangeColor and getChangeBackgroundColor
- Update main.dart to use ShadThemeData with AppColorScheme color
  schemes instead of createLight/DarkShadTheme functions
- Add app_theme.dart import to main.dart
- Refactor asset_card.dart and coin_card.dart to call static methods
  via AppColorScheme class
- Add app_spacing.dart import to action_buttons_row.dart
- Replace SizedBox with proper spacing constants in action buttons row
2026-04-05 23:47:56 +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