From 0754d4cd45c75348c478e80ff824fa56b5ef8bfb Mon Sep 17 00:00:00 2001 From: Serhii <borodenko.sv@gmail.com> Date: Mon, 22 Aug 2022 15:18:04 +0300 Subject: [PATCH] fix search bar color (#470) --- lib/src/screens/ionia/cards/ionia_manage_cards_page.dart | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/src/screens/ionia/cards/ionia_manage_cards_page.dart b/lib/src/screens/ionia/cards/ionia_manage_cards_page.dart index ba2e793eb..7e4f02bf8 100644 --- a/lib/src/screens/ionia/cards/ionia_manage_cards_page.dart +++ b/lib/src/screens/ionia/cards/ionia_manage_cards_page.dart @@ -135,7 +135,7 @@ class IoniaManageCardsPage extends BasePage { width: 32, padding: EdgeInsets.all(8), decoration: BoxDecoration( - color: Colors.white.withOpacity(0.15), + color: Theme.of(context).textTheme.title.backgroundColor, border: Border.all( color: Colors.white.withOpacity(0.2), ), @@ -264,7 +264,7 @@ class _SearchWidget extends StatelessWidget { ); return TextField( - style: TextStyle(color: Colors.white), + style: TextStyle(color: Theme.of(context).accentTextTheme.display3.backgroundColor), controller: controller, decoration: InputDecoration( filled: true, @@ -272,10 +272,10 @@ class _SearchWidget extends StatelessWidget { top: 10, left: 10, ), - fillColor: Colors.white.withOpacity(0.15), + fillColor: Theme.of(context).textTheme.title.backgroundColor, hintText: S.of(context).search, hintStyle: TextStyle( - color: Colors.white.withOpacity(0.6), + color: Theme.of(context).accentTextTheme.display2.backgroundColor, ), alignLabelWithHint: true, floatingLabelBehavior: FloatingLabelBehavior.never,