From 51352393dfbadc8e581c0756892a807359e7ce28 Mon Sep 17 00:00:00 2001 From: Vincent Velociter Date: Tue, 3 Sep 2024 12:09:29 +0200 Subject: [PATCH] Tweak explorer colors --- .../view/opening_explorer/opening_explorer_screen.dart | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/src/view/opening_explorer/opening_explorer_screen.dart b/lib/src/view/opening_explorer/opening_explorer_screen.dart index 956ce05401..b886bbdc09 100644 --- a/lib/src/view/opening_explorer/opening_explorer_screen.dart +++ b/lib/src/view/opening_explorer/opening_explorer_screen.dart @@ -390,7 +390,7 @@ class _OpeningExplorerView extends StatelessWidget { Container( padding: _kTableRowPadding, decoration: BoxDecoration( - color: Theme.of(context).colorScheme.primaryContainer, + color: Theme.of(context).colorScheme.secondaryContainer, borderRadius: BorderRadius.only( topLeft: Radius.circular(isLandscape ? 4.0 : 0), topRight: Radius.circular(isLandscape ? 4.0 : 0), @@ -453,7 +453,7 @@ class _Opening extends ConsumerWidget { final openingWidget = Text( '${opening.eco.isEmpty ? "" : "${opening.eco} "}${opening.name}', style: TextStyle( - color: Theme.of(context).colorScheme.primary, + color: Theme.of(context).colorScheme.onSecondaryContainer, fontWeight: FontWeight.bold, ), ); @@ -614,7 +614,7 @@ class OpeningExplorerMoveTable extends ConsumerWidget { children: [ TableRow( decoration: BoxDecoration( - color: Theme.of(context).colorScheme.primaryContainer, + color: Theme.of(context).colorScheme.secondaryContainer, ), children: [ Padding( @@ -725,7 +725,7 @@ class OpeningExplorerGameList extends StatelessWidget { children: [ Container( padding: _kTableRowPadding, - color: Theme.of(context).colorScheme.primaryContainer, + color: Theme.of(context).colorScheme.secondaryContainer, child: Row( children: [Text(title)], ),