From e81d33a71bd260660176a316258b16065f2b141c Mon Sep 17 00:00:00 2001 From: Noah Date: Fri, 15 Mar 2024 11:01:15 +0100 Subject: [PATCH] change surfacevariant to tertiary color with low opacity --- lib/src/view/play/time_control_modal.dart | 2 +- lib/src/widgets/feedback.dart | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/src/view/play/time_control_modal.dart b/lib/src/view/play/time_control_modal.dart index 5b993b2444..16c431ac73 100644 --- a/lib/src/view/play/time_control_modal.dart +++ b/lib/src/view/play/time_control_modal.dart @@ -183,7 +183,7 @@ class _ChoiceChip extends StatelessWidget { color: Theme.of(context).platform == TargetPlatform.iOS ? CupertinoColors.secondarySystemGroupedBackground .resolveFrom(context) - : Theme.of(context).colorScheme.surfaceVariant, + : Theme.of(context).colorScheme.tertiary.withOpacity(0.15), borderRadius: const BorderRadius.all(Radius.circular(5.0)), border: selected ? Border.fromBorderSide( diff --git a/lib/src/widgets/feedback.dart b/lib/src/widgets/feedback.dart index 474b66c824..1d549ca78b 100644 --- a/lib/src/widgets/feedback.dart +++ b/lib/src/widgets/feedback.dart @@ -23,7 +23,7 @@ class ConnectivityBanner extends ConsumerWidget { height: 45, color: theme.platform == TargetPlatform.iOS ? cupertinoTheme.barBackgroundColor - : theme.colorScheme.surfaceVariant, + : theme.colorScheme.tertiary.withOpacity(0.15), child: Padding( padding: const EdgeInsets.symmetric(horizontal: 8.0), child: Row(