Use Mih Color Red
This commit is contained in:
parent
6ba3da6368
commit
726c6f5213
46 changed files with 181 additions and 236 deletions
|
|
@ -54,7 +54,7 @@ class _MihPersonalProfileState extends State<MihPersonalProfile> {
|
|||
alertIcon: Icon(
|
||||
Icons.warning_amber_rounded,
|
||||
size: 100,
|
||||
color: MzansiInnovationHub.of(context)!.theme.errorColor(),
|
||||
color: MihColors.getRedColor(context),
|
||||
),
|
||||
alertTitle: "Too Slow, That Username is Taken",
|
||||
alertBody: const Text(
|
||||
|
|
@ -63,7 +63,7 @@ class _MihPersonalProfileState extends State<MihPersonalProfile> {
|
|||
fontSize: 15,
|
||||
),
|
||||
),
|
||||
alertColour: MzansiInnovationHub.of(context)!.theme.errorColor(),
|
||||
alertColour: MihColors.getRedColor(context),
|
||||
);
|
||||
},
|
||||
);
|
||||
|
|
@ -196,7 +196,7 @@ class _MihPersonalProfileState extends State<MihPersonalProfile> {
|
|||
if (_counter.value <= limit) {
|
||||
return MzansiInnovationHub.of(context)!.theme.secondaryColor();
|
||||
} else {
|
||||
return MzansiInnovationHub.of(context)!.theme.errorColor();
|
||||
return MihColors.getRedColor(context);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ class _MihPersonalSettingsState extends State<MihPersonalSettings> {
|
|||
alertIcon: Icon(
|
||||
Icons.warning_amber_rounded,
|
||||
size: 100,
|
||||
color: MzansiInnovationHub.of(context)!.theme.errorColor(),
|
||||
color: MihColors.getRedColor(context),
|
||||
),
|
||||
alertTitle:
|
||||
"Are you sure you want to permanently delete your MIH account?",
|
||||
|
|
@ -65,8 +65,7 @@ class _MihPersonalSettingsState extends State<MihPersonalSettings> {
|
|||
MihUserServices.deleteAccount(
|
||||
widget.signedInUser.app_id, context);
|
||||
},
|
||||
buttonColor:
|
||||
MzansiInnovationHub.of(context)!.theme.errorColor(),
|
||||
buttonColor: MihColors.getRedColor(context),
|
||||
width: 300,
|
||||
child: Text(
|
||||
"Delete",
|
||||
|
|
@ -100,7 +99,7 @@ class _MihPersonalSettingsState extends State<MihPersonalSettings> {
|
|||
)
|
||||
],
|
||||
),
|
||||
alertColour: MzansiInnovationHub.of(context)!.theme.errorColor(),
|
||||
alertColour: MihColors.getRedColor(context),
|
||||
);
|
||||
},
|
||||
);
|
||||
|
|
@ -132,7 +131,7 @@ class _MihPersonalSettingsState extends State<MihPersonalSettings> {
|
|||
onPressed: () {
|
||||
deleteAccountPopUp(context);
|
||||
},
|
||||
buttonColor: MzansiInnovationHub.of(context)!.theme.errorColor(),
|
||||
buttonColor: MihColors.getRedColor(context),
|
||||
width: 300,
|
||||
child: Text(
|
||||
"Delete Account",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue