align button color Auth Package

This commit is contained in:
2025-06-12 12:39:45 +02:00
parent 5def90553b
commit 16774e8181
4 changed files with 7 additions and 9 deletions

View File

@@ -122,7 +122,7 @@ class _ForgotPasswordState extends State<ForgotPassword> {
validateInput();
},
buttonColor:
MzanziInnovationHub.of(context)!.theme.secondaryColor(),
MzanziInnovationHub.of(context)!.theme.successColor(),
width: 300,
child: Text(
"Continue",
@@ -288,7 +288,7 @@ class _ForgotPasswordState extends State<ForgotPassword> {
},
buttonColor: MzanziInnovationHub.of(context)!
.theme
.secondaryColor(),
.successColor(),
width: 300,
child: Text(
"Reset Password",

View File

@@ -239,8 +239,7 @@ class _RegisterState extends State<Register> {
onPressed: () {
MihInstallServices().installMihTrigger(context);
},
buttonColor:
MzanziInnovationHub.of(context)!.theme.secondaryColor(),
buttonColor: MzanziInnovationHub.of(context)!.theme.successColor(),
width: 150,
child: Text(
"Install MIH",

View File

@@ -290,7 +290,7 @@ class _ResetPasswordState extends State<ResetPassword> {
},
buttonColor: MzanziInnovationHub.of(context)!
.theme
.secondaryColor(),
.successColor(),
width: 300,
child: Text(
"Reset Password",

View File

@@ -305,8 +305,7 @@ class _SignInState extends State<SignIn> {
onPressed: () {
MihInstallServices().installMihTrigger(context);
},
buttonColor:
MzanziInnovationHub.of(context)!.theme.secondaryColor(),
buttonColor: MzanziInnovationHub.of(context)!.theme.successColor(),
width: 150,
child: Text(
"Install MIH",
@@ -512,7 +511,7 @@ class _SignInState extends State<SignIn> {
buttonColor:
MzanziInnovationHub.of(context)!
.theme
.secondaryColor(),
.successColor(),
width: 300,
child: Text(
"Sign In",
@@ -530,7 +529,7 @@ class _SignInState extends State<SignIn> {
buttonColor:
MzanziInnovationHub.of(context)!
.theme
.successColor(),
.secondaryColor(),
width: 300,
child: Text(
"Create New Account",