fix theme issues

merge-requests/287/head
Mohammad Aljammal 4 years ago
parent 7e37d6824e
commit ad88f6de04

@ -365,7 +365,7 @@ const Map localizedValues = {
'painScale': {'en': 'Pain Scale', 'ar': 'مقياس الألم'},
'weight': {'en': 'Weight', 'ar': 'الوزن'},
'height': {'en': 'Height', 'ar': 'الطول'},
'heart': {'en': 'Heart', 'ar': 'قلب'},
'heart': {'en': 'Heart Rate', 'ar': 'معدل النبض'},
"heightUnit": {"en": "height unit", "ar": "وحدة الطول"},
"weightUnit": {"en": "Weight Unit", "ar": "وحدة الوزن"},
"request": {"en": "Request", "ar": "طلبات الاضافة"},

@ -40,7 +40,7 @@ class _GeneralSettings extends State<GeneralSettings>
return Container(
child: ListView(scrollDirection: Axis.vertical, children: <Widget>[
Container(
color: Theme.of(context).primaryColor,
color: Theme.of(context).scaffoldBackgroundColor,
padding: EdgeInsets.all(10),
child: AppText(
TranslationBase.of(context).modes,
@ -48,7 +48,7 @@ class _GeneralSettings extends State<GeneralSettings>
),
),
Container(
color: Theme.of(context).primaryColor,
color: Theme.of(context).scaffoldBackgroundColor,
padding: EdgeInsets.all(10),
child: Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
@ -68,7 +68,7 @@ class _GeneralSettings extends State<GeneralSettings>
],
)),
Container(
color: Theme.of(context).primaryColor,
color: Theme.of(context).scaffoldBackgroundColor,
padding: EdgeInsets.all(10),
child: Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
@ -88,7 +88,7 @@ class _GeneralSettings extends State<GeneralSettings>
],
)),
Container(
color: Theme.of(context).primaryColor,
color: Theme.of(context).scaffoldBackgroundColor,
padding: EdgeInsets.all(10),
child: AppText(
TranslationBase.of(context).blindMode,
@ -96,7 +96,7 @@ class _GeneralSettings extends State<GeneralSettings>
),
),
new Container(
color: Theme.of(context).primaryColor,
color: Theme.of(context).scaffoldBackgroundColor,
padding: EdgeInsets.all(8.0),
child: new Column(
mainAxisAlignment: MainAxisAlignment.center,
@ -179,7 +179,7 @@ class _GeneralSettings extends State<GeneralSettings>
)
])),
Container(
color: Theme.of(context).primaryColor,
color: Theme.of(context).scaffoldBackgroundColor,
padding: EdgeInsets.all(10),
child: AppText(
TranslationBase.of(context).permissions,
@ -187,7 +187,7 @@ class _GeneralSettings extends State<GeneralSettings>
),
),
Container(
color: Theme.of(context).primaryColor,
color: Theme.of(context).scaffoldBackgroundColor,
padding: EdgeInsets.all(10),
child: Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
@ -206,7 +206,7 @@ class _GeneralSettings extends State<GeneralSettings>
],
)),
Container(
color: Theme.of(context).primaryColor,
color: Theme.of(context).scaffoldBackgroundColor,
padding: EdgeInsets.all(10),
child: Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,

@ -35,7 +35,7 @@ defaultTheme({fontName}) {
backgroundColor: Color.fromRGBO(255, 255, 255, 1),
highlightColor: Colors.grey[100].withOpacity(0.4),
splashColor: Colors.transparent,
primaryColor: Color(0xffffffff),
primaryColor: Color(0xff515A5D),
buttonColor: Colors.black,
toggleableActiveColor: secondaryColor,
indicatorColor: secondaryColor,

Loading…
Cancel
Save