Theming
This commit is contained in:
parent
5f666ed6ea
commit
e7c6f0d3b0
|
|
@ -207,8 +207,10 @@ class _TasksListScreenState extends ConsumerState<TasksListScreen> {
|
|||
filterHeader: filterHeader,
|
||||
onRequestRefresh: () {
|
||||
// For server-side pagination, update the query provider
|
||||
ref.read(tasksQueryProvider.notifier).state =
|
||||
const TaskQuery(offset: 0, limit: 50);
|
||||
ref.read(tasksQueryProvider.notifier).state = const TaskQuery(
|
||||
offset: 0,
|
||||
limit: 50,
|
||||
);
|
||||
},
|
||||
isLoading: false,
|
||||
columns: [
|
||||
|
|
@ -689,7 +691,6 @@ class _StatusSummaryCard extends StatelessWidget {
|
|||
|
||||
return Card(
|
||||
color: background,
|
||||
elevation: 0,
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.symmetric(horizontal: 16, vertical: 12),
|
||||
child: Column(
|
||||
|
|
|
|||
|
|
@ -582,7 +582,6 @@ class _StatusSummaryCard extends StatelessWidget {
|
|||
|
||||
return Card(
|
||||
color: background,
|
||||
elevation: 0,
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.symmetric(horizontal: 16, vertical: 12),
|
||||
child: Column(
|
||||
|
|
|
|||
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user