feat(ui): 更新品牌启动页与选集交互

This commit is contained in:
Zhou Weidong committed 2026-10-19 09:28:16 +08:00
1 parent 4778ce2c75
commit c1cb7d1c11
87 files changed
+919 -552

No files matched your search

+40 -15
View File
@@ -1,24 +1,49 @@
// Author: fruit.com.cn
import 'package:flutter/material.dart';
/// Shared colors. Blue is the primary action color.
/// Evening palette for the Indonesia launch.
///
/// Chili is the action color. Gold marks coins, rewards, and playback
/// progress. Cocoa surfaces keep the app in night-market light instead of
/// a cold utility screen.
abstract final class AppColors {
/// Klein Blue primary used by actions and selected states.
static const blue = Color(0xFF002FA7);
/// Chili fill for buttons, selected chips, and brand marks.
static const blue = Color(0xFFC4322A);
/// Pressed/active shade for blue surfaces.
static const bluePressed = Color(0xFF00227A);
/// Pressed chili.
static const bluePressed = Color(0xFF8E221C);
/// High-contrast blue for text and icons on dark surfaces.
static const blueSoft = Color(0xFF5B7BE0);
/// Coral for text and icons sitting on dark surfaces.
static const blueSoft = Color(0xFFFF8A72);
/// Coins, rewards, and the playback progress line.
static const gold = Color(0xFFF6C453);
/// Text placed on [gold].
static const onGold = Color(0xFF2A1810);
/// Text and icons placed directly on [blue].
static const onPrimary = Color(0xFFFFFFFF);
static const ink = Color(0xFF0B0C10);
static const bar = Color(0xFF101114);
static const card = Color(0xFF17191F);
static const muted = Color(0xFFB7BDC9);
static const outlineDark = Color(0xFF3A3C45);
static const outlineVariantDark = Color(0xFF242329);
static const outlineLight = Color(0xFF8A8E99);
static const outlineVariantLight = Color(0xFFD6D9E2);
/// Page background.
static const ink = Color(0xFF100C0A);
/// Bottom bar.
static const bar = Color(0xFF1A1412);
/// Cards lifted off [ink].
static const card = Color(0xFF241C19);
/// Chips and nested rows.
static const raised = Color(0xFF322824);
/// Primary text on dark surfaces.
static const cream = Color(0xFFF8F1EA);
static const muted = Color(0xFFB7A59C);
static const outlineDark = Color(0xFF4A3C36);
static const outlineVariantDark = Color(0xFF2A221F);
static const outlineLight = Color(0xFF8C7A72);
static const outlineVariantLight = Color(0xFFE4D5CC);
}
+4 -4
View File
@@ -4,10 +4,10 @@ import 'package:flutter/material.dart';
import 'app_colors.dart';
/// App-wide light and dark themes built from the approved Klein Blue palette.
/// Light paper and warm-cocoa themes for the Indonesia evening palette.
abstract final class AppTheme {
static const _lightBackground = Color(0xFFF8F7FC);
static const _darkBackground = Color(0xFF101019);
static const _lightBackground = Color(0xFFFFF6F1);
static const _darkBackground = AppColors.ink;
/// Light theme for system light mode.
static ThemeData light() => _build(
@@ -40,7 +40,7 @@ abstract final class AppTheme {
secondaryContainer: AppColors.bluePressed,
onSecondaryContainer: AppColors.onPrimary,
surface: _darkBackground,
onSurface: Colors.white,
onSurface: AppColors.cream,
outline: AppColors.outlineDark,
outlineVariant: AppColors.outlineVariantDark,
surfaceTint: AppColors.blueSoft,