fix gift card filter colors
Serhii committed
Nov 16, 2022 at 23:31 UTC
91d7e87334d9374904c0bf3098510a8c5c20d1a2
2 files changed
+3
-3
lib/src/screens/ionia/cards/ionia_manage_cards_page.dart
+1
-1
@@ -118,7 +118,7 @@ class IoniaManageCardsPage extends BasePage {
118
width: 32,
119
padding: EdgeInsets.all(8),
120
decoration: BoxDecoration(
121
- color: Colors.white.withOpacity(0.15),
121
+ color: Theme.of(context).textTheme!.headline6!.backgroundColor!,
122
border: Border.all(
123
color: Colors.white.withOpacity(0.2),
124
),
lib/src/screens/ionia/widgets/ionia_filter_modal.dart
+2
-2
@@ -20,7 +20,7 @@ class IoniaFilterModal extends StatelessWidget {
20
padding: EdgeInsets.all(10),
21
child: Image.asset(
22
'assets/images/mini_search_icon.png',
23
- color: Theme.of(context).accentColor,
23
+ color: Theme.of(context).textTheme.subtitle2!.color!,
24
),
25
);
26
return Scaffold(
@@ -53,7 +53,7 @@ class IoniaFilterModal extends StatelessWidget {
53
prefixIcon: searchIcon,
54
hintText: S.of(context).search_category,
55
contentPadding: EdgeInsets.only(bottom: 5),
56
- fillColor: Theme.of(context).textTheme!.subtitle1!.backgroundColor!,
56
+ fillColor: Theme.of(context).primaryTextTheme!.caption!.decorationColor!.withOpacity(0.5),
57
border: OutlineInputBorder(
58
borderSide: BorderSide.none,
59
borderRadius: BorderRadius.circular(8),