diff --git a/lib/pages/landing/widgets/logged_slider_view.dart b/lib/pages/landing/widgets/logged_slider_view.dart index 98e4b252..a984fcc1 100644 --- a/lib/pages/landing/widgets/logged_slider_view.dart +++ b/lib/pages/landing/widgets/logged_slider_view.dart @@ -9,6 +9,8 @@ import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; import 'package:flutter/material.dart'; import 'package:flutter_svg/flutter_svg.dart'; +import '../../../theme/colors.dart'; + class LoggedSliderView extends StatelessWidget { ProjectViewModel projectViewModel; SliderData sliderData; @@ -59,7 +61,7 @@ class LoggedSliderView extends StatelessWidget { Row( children: [ Container( - decoration: projectViewModel.isArabic ? containerColorRadiusLeft(Color(0xFFFBF2E31), 100) : containerColorRadiusRight(Color(0xFFFBF2E31), 100), + decoration: projectViewModel.isArabic ? containerColorRadiusLeft(CustomColors.accentColor, 100) : containerColorRadiusRight(CustomColors.accentColor, 100), padding: EdgeInsets.only(left: 20, right: 16, top: 6, bottom: 6), child: Text( TranslationBase.of(context).medicalFile, diff --git a/lib/pages/landing/widgets/offer_view.dart b/lib/pages/landing/widgets/offer_view.dart index 82afbc4a..4a3fb287 100644 --- a/lib/pages/landing/widgets/offer_view.dart +++ b/lib/pages/landing/widgets/offer_view.dart @@ -21,7 +21,7 @@ class OfferView extends StatelessWidget { Text( "Kid's Offer", style: TextStyle( - color: Color(0xFFFBF2E31), + color: Color(0xFF14384B), fontSize: 18, fontWeight: FontWeight.bold, ), @@ -40,14 +40,14 @@ class OfferView extends StatelessWidget { Text( "Only ", style: TextStyle( - color: Color(0xFFFBF2E31), + color: Color(0xFF14384B), fontSize: 14, ), ), Text( "500 ", style: TextStyle( - color: Color(0xFFFBF2E31), + color: Color(0xFF14384B), fontSize: 14, fontWeight: FontWeight.bold, ), @@ -55,7 +55,7 @@ class OfferView extends StatelessWidget { Text( "SAR ", style: TextStyle( - color: Color(0xFFFBF2E31), + color: Color(0xFF14384B), fontSize: 14, ), ), diff --git a/lib/widgets/data_display/medical/time_line_new_widget.dart b/lib/widgets/data_display/medical/time_line_new_widget.dart index f6414f4b..53635f21 100644 --- a/lib/widgets/data_display/medical/time_line_new_widget.dart +++ b/lib/widgets/data_display/medical/time_line_new_widget.dart @@ -304,7 +304,7 @@ class _TimeLineViewState extends State { child: CustomTextButton( shape: cardRadiusNew(8), elevation: 0, - backgroundColor: Color(0xFFFBF2E31), + backgroundColor: Color(0xFF14384B), onPressed: () { // onLoginClick(); login(); diff --git a/lib/widgets/weather_slider/weather_slider.dart b/lib/widgets/weather_slider/weather_slider.dart index 83450bed..c2cf08b4 100644 --- a/lib/widgets/weather_slider/weather_slider.dart +++ b/lib/widgets/weather_slider/weather_slider.dart @@ -11,7 +11,8 @@ class WeatherSlider extends StatelessWidget { WeatherSlider(this.data, this.projectViewModel); - LinearGradient red = LinearGradient(colors: [const Color(0xFF14384B), const Color(0xFF14384B)]); + LinearGradient red = LinearGradient(colors: [Colors.redAccent[100]!, Colors.redAccent]); + LinearGradient green = LinearGradient(colors: [Colors.greenAccent[100]!, Colors.greenAccent]); LinearGradient grey = LinearGradient(colors: [Colors.grey[100]!, Colors.grey]); LinearGradient orange = LinearGradient(colors: [Colors.orangeAccent[100]!, Colors.orange]); LinearGradient yellow = LinearGradient(colors: [Colors.yellow[100]!, Colors.yellow[600]!]); @@ -68,7 +69,7 @@ class WeatherSlider extends StatelessWidget { : data.colorName == 'orange' ? Colors.orangeAccent : data.colorName == 'green' - ? Colors.greenAccent + ? Colors.greenAccent : data.colorName == 'yellow' ? Colors.yellowAccent : Colors.grey,