Use Mih Color Red

This commit is contained in:
2025-08-14 09:58:28 +02:00
parent 6ba3da6368
commit 726c6f5213
46 changed files with 181 additions and 236 deletions

View File

@@ -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);
}
}

View File

@@ -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,
),
),