fix search bar color (#470)

Serhii committed Aug 22, 2022 at 15:18 UTC 0754d4cd45c75348c478e80ff824fa56b5ef8bfb
1 file changed +4 -4
lib/src/screens/ionia/cards/ionia_manage_cards_page.dart
+4 -4
@@ -135,7 +135,7 @@ class IoniaManageCardsPage extends BasePage {
135 width: 32,
136 padding: EdgeInsets.all(8),
137 decoration: BoxDecoration(
138 - color: Colors.white.withOpacity(0.15),
138 + color: Theme.of(context).textTheme.title.backgroundColor,
139 border: Border.all(
140 color: Colors.white.withOpacity(0.2),
141 ),
@@ -264,7 +264,7 @@ class _SearchWidget extends StatelessWidget {
264 );
265
266 return TextField(
267 - style: TextStyle(color: Colors.white),
267 + style: TextStyle(color: Theme.of(context).accentTextTheme.display3.backgroundColor),
268 controller: controller,
269 decoration: InputDecoration(
270 filled: true,
@@ -272,10 +272,10 @@ class _SearchWidget extends StatelessWidget {
272 top: 10,
273 left: 10,
274 ),
275 - fillColor: Colors.white.withOpacity(0.15),
275 + fillColor: Theme.of(context).textTheme.title.backgroundColor,
276 hintText: S.of(context).search,
277 hintStyle: TextStyle(
278 - color: Colors.white.withOpacity(0.6),
278 + color: Theme.of(context).accentTextTheme.display2.backgroundColor,
279 ),
280 alignLabelWithHint: true,
281 floatingLabelBehavior: FloatingLabelBehavior.never,