Skip to content

Commit

Permalink
change surfacevariant to tertiary color with low opacity
Browse files Browse the repository at this point in the history
  • Loading branch information
HaonRekcef committed Mar 15, 2024
1 parent 079841f commit e81d33a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/src/view/play/time_control_modal.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
2 changes: 1 addition & 1 deletion lib/src/widgets/feedback.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit e81d33a

Please sign in to comment.