mirror of
https://github.com/foss42/apidash.git
synced 2025-05-30 21:41:50 +08:00
Update widgets UI as per the latest Material 3 colors
This commit is contained in:
@ -21,8 +21,7 @@ class HistoryRequestCard extends StatelessWidget {
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
final Color color = Theme.of(context).colorScheme.surface;
|
||||
final Color colorVariant =
|
||||
Theme.of(context).colorScheme.surfaceContainerHighest.withOpacity(0.5);
|
||||
final Color colorVariant = Theme.of(context).colorScheme.surfaceContainer;
|
||||
final Color surfaceTint = Theme.of(context).colorScheme.primary;
|
||||
return Card(
|
||||
shape: const ContinuousRectangleBorder(borderRadius: kBorderRadius12),
|
||||
@ -38,7 +37,6 @@ class HistoryRequestCard extends StatelessWidget {
|
||||
onTap: onTap,
|
||||
borderRadius: kBorderRadius6,
|
||||
hoverColor: colorVariant,
|
||||
focusColor: colorVariant.withOpacity(0.5),
|
||||
child: Padding(
|
||||
padding: kPv6 + kPh8,
|
||||
child: SizedBox(
|
||||
|
Reference in New Issue
Block a user