Use Mih Color Red
This commit is contained in:
parent
6ba3da6368
commit
726c6f5213
46 changed files with 181 additions and 236 deletions
|
|
@ -280,7 +280,7 @@ class _PatientConsultationState extends State<PatientConsultation> {
|
|||
if (_counter.value <= 512) {
|
||||
return MzansiInnovationHub.of(context)!.theme.secondaryColor();
|
||||
} else {
|
||||
return MzansiInnovationHub.of(context)!.theme.errorColor();
|
||||
return MihColors.getRedColor(context);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -281,8 +281,7 @@ class _EditPatientState extends State<EditPatient> {
|
|||
),
|
||||
MihButton(
|
||||
onPressed: deletePatientApiCall,
|
||||
buttonColor:
|
||||
MzansiInnovationHub.of(context)!.theme.errorColor(),
|
||||
buttonColor: MihColors.getRedColor(context),
|
||||
width: 300,
|
||||
child: Text(
|
||||
"Delete",
|
||||
|
|
@ -310,7 +309,7 @@ class _EditPatientState extends State<EditPatient> {
|
|||
},
|
||||
icon: Icon(
|
||||
Icons.close,
|
||||
color: MzansiInnovationHub.of(context)!.theme.errorColor(),
|
||||
color: MihColors.getRedColor(context),
|
||||
size: 35,
|
||||
),
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue