sion
0066615054
111
2026-04-18 10:02:47 +08:00
1793fb727e
统一弹窗风格:Material Design 3 规范,消除颜色不一致
...
- 所有 AlertDialog 替换为 ModernDialog
- ConfirmDialog/AssetDialogs 去掉 GlassPanel,统一 surfaceContainer 背景
- 按钮统一 FilledButton + TextButton
- 修复 import 路径
2026-04-16 11:47:17 +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
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
e58d2e4ca0
feat(ui): 优化组件样式并添加现代弹窗模板
...
- 更新 trade_button.dart 使用新颜色系统
- 更新 coin_card.dart 使用新颜色系统
- 更新 asset_card.dart 使用新颜色系统
- 创建 modern_dialog.dart 现代弹窗模板
- 创建 modern_bottom_sheet.dart 现代底部抽屉模板
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-23 14:18:56 +08:00
a8f9882e54
优化
2026-03-23 02:43:35 +08:00
7be22da0f0
feat: 优化
2026-03-23 00:43:19 +08:00