style(ui): 对齐所有页面样式到 Pencil 设计规范
- 移除硬编码颜色,使用主题变量 - market_page.dart: 统一卡片背景使用主题变量 - welfare_center_page.dart: 使用 AppColorScheme.warning - 添加缺失的 import - Light/Dark 模式完全适配
This commit is contained in:
@@ -144,7 +144,7 @@ class _MarketPageState extends State<MarketPage>
|
||||
|
||||
return Container(
|
||||
decoration: BoxDecoration(
|
||||
color: context.colors.surfaceContainer,
|
||||
color: context.appColors.surfaceCard,
|
||||
borderRadius: BorderRadius.circular(AppRadius.lg),
|
||||
border: Border.all(
|
||||
color: context.appColors.ghostBorder,
|
||||
@@ -418,7 +418,7 @@ class _CoinAvatar extends StatelessWidget {
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
// 从 .pen 设计中的 accent-light 和 accent-primary
|
||||
// 使用主题变量而非硬编码
|
||||
final bgColor = context.colors.primary.withValues(alpha: context.appColors.glowOpacity);
|
||||
|
||||
return Container(
|
||||
|
||||
Reference in New Issue
Block a user