This commit is contained in:
2026-02-17 07:00:45 +08:00
parent 5f666ed6ea
commit e7c6f0d3b0
3 changed files with 12 additions and 10 deletions
+8 -6
View File
@@ -42,11 +42,12 @@ class AppTheme {
),
cardTheme: CardThemeData(
color: base.colorScheme.surface,
elevation: 0,
elevation: 3, // M2-style elevation for visible separation (2-4 allowed)
margin: EdgeInsets.zero,
shadowColor: const Color.fromRGBO(0, 0, 0, 0.12),
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(20),
side: BorderSide(color: base.colorScheme.outlineVariant),
borderRadius: BorderRadius.circular(16),
side: BorderSide(color: base.colorScheme.outlineVariant, width: 1),
),
),
chipTheme: ChipThemeData(
@@ -159,11 +160,12 @@ class AppTheme {
),
cardTheme: CardThemeData(
color: base.colorScheme.surfaceContainer,
elevation: 0,
elevation: 3, // M2-style elevation for visible separation (2-4 allowed)
margin: EdgeInsets.zero,
shadowColor: const Color.fromRGBO(0, 0, 0, 0.24),
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(20),
side: BorderSide(color: base.colorScheme.outlineVariant),
borderRadius: BorderRadius.circular(16),
side: BorderSide(color: base.colorScheme.outlineVariant, width: 1),
),
),
chipTheme: ChipThemeData(