fixed colors for darkTheme

This commit is contained in:
llsajjad
2025-08-09 13:13:32 +03:30
parent 68a0bcd582
commit 080125b851
14 changed files with 44 additions and 35 deletions
+3 -3
View File
@@ -38,8 +38,8 @@ class BaseButton extends StatelessWidget {
style: ElevatedButton.styleFrom(
backgroundColor:
backgroundColor ??
(isEnabled ? AppColors.mainBlue : Colors.grey[300]),
foregroundColor: textColor ?? Colors.white,
(isEnabled ? AppColors.mainBlue : AppColors.backgroundColor),
foregroundColor: textColor ?? AppColors.backgroundColor,
elevation: elevation ?? 0,
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(borderRadius ?? 28.0.w()),
@@ -54,7 +54,7 @@ class BaseButton extends StatelessWidget {
style: TextStyle(
fontSize: 16.0.sp(),
fontWeight: FontWeight.bold,
color: textColor ?? Colors.white,
color: textColor ?? AppColors.backgroundColor,
),
),
),