Use Mih Color Green

This commit is contained in:
2025-08-14 09:54:00 +02:00
parent 3b669bceac
commit 6ba3da6368
45 changed files with 178 additions and 252 deletions

View File

@@ -1,5 +1,6 @@
import 'package:mzansi_innovation_hub/main.dart';
import 'package:mzansi_innovation_hub/mih_components/mih_package_components/mih_package_window.dart';
import 'package:mzansi_innovation_hub/mih_config/mih_colors.dart';
import 'package:mzansi_innovation_hub/mih_services/mih_alert_services.dart';
import 'package:mzansi_innovation_hub/mih_services/mih_file_services.dart';
import 'package:mzansi_innovation_hub/mih_services/mih_user_services.dart';
@@ -367,8 +368,7 @@ class _MihPersonalProfileState extends State<MihPersonalProfile> {
MihAlertServices().formNotFilledCompletely(context);
}
},
buttonColor:
MzansiInnovationHub.of(context)!.theme.successColor(),
buttonColor: MihColors.getGreenColor(context),
width: 300,
child: Text(
"Update",
@@ -541,8 +541,7 @@ class _MihPersonalProfileState extends State<MihPersonalProfile> {
// Connect with the user
editProfileWindow(width);
},
buttonColor:
MzansiInnovationHub.of(context)!.theme.successColor(),
buttonColor: MihColors.getGreenColor(context),
width: 300,
child: Text(
widget.arguments.signedInUser.username.isEmpty
@@ -575,13 +574,13 @@ class _MihPersonalProfileState extends State<MihPersonalProfile> {
// ),
// label: "Edit Profile",
// labelBackgroundColor:
// MzansiInnovationHub.of(context)!.theme.successColor(),
// MihColors.getGreenColor(context),
// labelStyle: TextStyle(
// color: MzansiInnovationHub.of(context)!.theme.primaryColor(),
// fontWeight: FontWeight.bold,
// ),
// backgroundColor:
// MzansiInnovationHub.of(context)!.theme.successColor(),
// MihColors.getGreenColor(context),
// onTap: () {
// editProfileWindow(width);
// },

View File

@@ -175,7 +175,7 @@ class _MihPersonalProfileViewState extends State<MihPersonalProfileView> {
// // Connect with the user
// },
// buttonColor:
// MzansiInnovationHub.of(context)!.theme.successColor(),
// MihColors.getGreenColor(context),
// width: 300,
// child: Text(
// widget.user.username.isEmpty

View File

@@ -1,4 +1,5 @@
import 'package:mzansi_innovation_hub/main.dart';
import 'package:mzansi_innovation_hub/mih_config/mih_colors.dart';
import 'package:mzansi_innovation_hub/mih_services/mih_user_services.dart';
import 'package:mzansi_innovation_hub/mih_components/mih_package_components/mih_single_child_scroll.dart';
import 'package:mzansi_innovation_hub/mih_components/mih_package_components/mih_button.dart';
@@ -82,8 +83,7 @@ class _MihPersonalSettingsState extends State<MihPersonalSettings> {
onPressed: () {
Navigator.pop(context);
},
buttonColor:
MzansiInnovationHub.of(context)!.theme.successColor(),
buttonColor: MihColors.getGreenColor(context),
width: 300,
child: Text(
"Cancel",