Theming
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user