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

View File

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

View File

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

View File

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