Commit Graph

15 Commits

Author SHA1 Message Date
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
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
8825fe5b27 style: 完成前端专业金融风格优化
- 主题配色: 黑金传奇(暗) + 白金殿堂(亮)
- 底部导航: 去掉毛玻璃,简洁专业
- 交易页面: 明亮模式颜色优化,实心按钮
- 按钮圆角: xxl(24px) → lg(12px)/md(8px)
- 字体系统: Inter(币安同款)
- 整体风格: 专业金融科技
2026-03-30 03:31:42 +08:00
f32c48900b style: 优化为黑金/白金配色方案
- 暗色主题: 黑金传奇 (深黑 + 真金)
- 亮色主题: 白金殿堂 (纯白 + 金色)
- 统一品牌色: 金色强调
- 提升专业金融感
2026-03-30 03:14:00 +08:00
7f416c7594 fix(theme): 修复亮色模式绿色对比度不足问题
- 添加主题感知颜色函数: getUpColor/getUpBackgroundColor
- app_color_scheme: 新增 getBuyGradient/getEmeraldGradient
- asset_card: emeraldGradient 支持主题切换
- neon_glow: 按钮颜色主题感知
- home_page: 涨跌颜色动态适配
- asset_page: 资产涨跌颜色适配
- trade_page: 交易涨跌颜色适配
- mine_page: 我的页面颜色适配

修复: 亮色模式下绿色 (#00a878) 与浅色背景对比度不足
效果: 亮色模式使用深绿色,深色模式使用亮绿色
2026-03-24 08:58:18 +08:00
a65aa0fa86 fix(ui): 修复主题切换功能,支持明暗主题动态切换
- 替换所有硬编码颜色为动态颜色
- 所有页面使用 Theme.of(context) 获取主题颜色
- 支持深色和浅色主题切换
- 修复 GlassPanel 和 NeonGlow 组件的主题适配
- 完善 lightMaterial ColorScheme 定义
- 测试主题切换功能正常

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-24 02:50:25 +08:00
df0e8beba9 feat(ui): 应用新设计系统到 Flutter 项目
- 更新颜色系统为 Material Design 3
  * Primary: #72dcff (青色)
  * Secondary: #dd8bfb (紫色)
  * Tertiary: #afffd1 (绿色)

- 创建新的 UI 组件
  * GlassPanel: 毛玻璃效果面板
  * NeonGlow: 霓虹光效组件
  * GradientButton: 渐变按钮组件

- 更新所有页面样式
  * 交易页面 (trade_page.dart)
  * 行情页面 (market_page.dart)
  * 资产页面 (asset_page.dart)
  * 我的页面 (mine_page.dart)
  * 订单页面 (orders_page.dart)

- 支持深色和浅色主题
- 所有 UI 文字使用中文
- 保持现有 API 接口不变

变更统计:
- 9 个文件修改
- 1,893 行新增
- 691 行删除
- 3 个新组件
2026-03-24 02:16:19 +08:00
019374df36 feat: 优化 2026-03-23 23:19:51 +08:00
a7bec4cfde feat(theme): 重构颜色系统为双主题设计并添加渐变组件
- 引入 "The Kinetic Vault"(深色)和 "The Ethereal Terminal"(浅色)双主题系统
- 重构颜色方案,使用层次化 surface 容器替代边框,遵循无边框设计规则
- 添加渐变预设(CTA、买入/卖出、资产卡片)和渐变按钮组件
- 更新圆角系统,明确按钮、卡片、输入框和标签的圆角规范
- 统一文本样式系统,使用 Space Grotesk(标题)和 Manrope(正文)字体
- 更新现有组件(AssetCard、CoinCard、TradeButton)以遵循新设计规范
- 添加向后兼容的已废弃常量,确保现有代码正常运行
2026-03-23 22:11:26 +08:00
c4cf23a4a1 feat(ui): 添加明暗主题切换支持
- 创建 ThemeProvider 管理主题状态
- 配置浅色和深色主题(Vercel/Linear 风格)
- 集成 Google Fonts(Inter + JetBrains Mono)
- 在我的页面添加主题切换开关
- 更新颜色系统符合 modernization-v2.md 规范
- 优化间距和圆角系统

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-23 14:12:00 +08:00
a8f9882e54 优化 2026-03-23 02:43:35 +08:00
0e95890d68 youhua 2026-03-22 02:14:55 +08:00
sion
ffac6fc267 refactor: 将前端从 uni-app x 重构为 Flutter
变更内容:
- 删除 uni-app x 项目 (app/ 目录)
- 新增 Flutter 项目 (flutter_monisuo/ 目录)
- 新增部署脚本 (deploy/ 目录)

Flutter 项目功能:
- 用户登录/注册
- 首页资产概览
- 行情币种列表
- 交易买卖操作
- 资产账户管理
- 充值/提现/划转
- 深色主题
- JWT Token 认证

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-22 00:21:21 +08:00