fixed dark theme bugs

This commit is contained in:
llsajjad
2025-08-10 16:33:30 +03:30
parent 31768fe71d
commit b8d4f38d67
10 changed files with 31 additions and 19 deletions
+12 -2
View File
@@ -104,11 +104,23 @@ class AppColors {
? const Color.fromRGBO(111, 134, 165, 0.2)
: const Color.fromRGBO(11, 134, 165, 0.2);
static Color get primary30 =>
_isDarkMode ? const Color(0xFF06162E) : const Color(0xFFD9E8FF);
static Color get orange10 =>
_isDarkMode
? const Color.fromRGBO(131, 120, 105, 0.2)
: const Color(0xFFFFF2DE);
static Color get white =>
_isDarkMode ? const Color(0xFFFFFFFF) : const Color(0xFFFFFFFF);
static Color get paleOrange =>
_isDarkMode ? const Color(0xFF260000) : const Color(0xFFfff7ee);
static Color get veryPaleOrange =>
_isDarkMode ? const Color(0xFF581010) : const Color(0xFFFFE4C9);
// Primary color variations
static const Color primary2 = Color(0xFFE5EFFF);
static const Color secondary50 = Color(0xFF34BCCB);
@@ -124,9 +136,7 @@ class AppColors {
static const Color red = Color(0xFFFF3B30);
// Other colors
static const Color paleOrange = Color(0xFFfff7ee);
static const Color lightBlue = Color(0xFFe8ecfc);
static const Color cyanAqua = Color(0xFFd6f4f8);
static const Color cyanTeal = Color(0xFF24A6B4);
static const Color white = Color(0xFFFFFFFF);
}