feat(theme): 校正 K26 预览色板与导航

This commit is contained in:
Zhou Weidong committed 2026-10-19 15:50:07 +08:00
1 parent eefabb6898
commit 87db548591
14 files changed
+293 -58

No files matched your search

+4 -16
View File
@@ -16,7 +16,6 @@ class AppBottomNavItem {
required this.label,
required this.onTap,
this.selected = false,
this.indicatorKey,
});
final Key tabKey;
@@ -25,7 +24,6 @@ class AppBottomNavItem {
final String label;
final VoidCallback onTap;
final bool selected;
final Key? indicatorKey;
}
/// Shared 3-tab navigation used by all root tabs and the player fallback.
@@ -52,7 +50,9 @@ class AppBottomNav extends StatelessWidget {
height: AppDimens.navHeight,
decoration: BoxDecoration(
color: backgroundColor.withValues(alpha: 0.95),
border: const Border(top: BorderSide(color: AppColors.border)),
border: const Border(
top: BorderSide(color: AppColors.outlineVariantDark),
),
),
child: Row(
children: [for (final item in items) _NavDestination(item: item)],
@@ -94,7 +94,7 @@ class _NavDestination extends StatelessWidget {
: Colors.white.withValues(alpha: 0.45),
),
),
const SizedBox(height: 3),
const SizedBox(height: 2),
Text(
item.label,
maxLines: 1,
@@ -108,18 +108,6 @@ class _NavDestination extends StatelessWidget {
letterSpacing: 0,
),
),
const SizedBox(height: 3),
AnimatedContainer(
key: item.indicatorKey,
duration: const Duration(milliseconds: 160),
curve: Curves.easeOut,
width: AppDimens.navDot,
height: AppDimens.navDot,
decoration: BoxDecoration(
color: item.selected ? AppColors.blue : Colors.transparent,
shape: BoxShape.circle,
),
),
],
),
),
+1 -1
View File
@@ -13,7 +13,7 @@ class GlassPanel extends StatelessWidget {
super.key,
required this.child,
this.radius = AppDimens.glassRadius,
this.blur = AppDimens.glassBlur,
this.blur = 10,
this.padding,
this.borderColor = AppColors.glassBorder,
this.gradient,