Enhance color theme and update board screen UI
- Added new color definitions for secondary and orange shades in AppColors. - Updated TaskItem model to remove title and improve description handling. - Refactored BoardScreen to utilize new color definitions and improve task display. - Enhanced task status messaging and UI consistency across task cards.
This commit is contained in:
@@ -95,6 +95,14 @@ class AppColors {
|
||||
static Color get iconColor =>
|
||||
_isDarkMode ? const Color(0xFF999999) : const Color(0xFF888888);
|
||||
|
||||
static Color get secondary70 =>
|
||||
_isDarkMode ? const Color(0xFF80C491) : const Color(0xFF1A5E66);
|
||||
|
||||
static Color get secondary20 =>
|
||||
_isDarkMode
|
||||
? const Color.fromRGBO(80, 89, 78, 0.9)
|
||||
: const Color(0xFFC2EAEF);
|
||||
|
||||
static Color get primary10 =>
|
||||
_isDarkMode
|
||||
? const Color.fromRGBO(104, 151, 151, 0.2)
|
||||
@@ -160,6 +168,14 @@ class AppColors {
|
||||
static Color get orange20 =>
|
||||
_isDarkMode ? const Color(0xFF6B5E4B) : const Color(0xFFF6D7AB);
|
||||
|
||||
static Color get orange =>
|
||||
_isDarkMode ? const Color(0xFFE5821E) : const Color(0xFFC07A25);
|
||||
|
||||
static Color get secondary10 =>
|
||||
_isDarkMode
|
||||
? const Color.fromRGBO(46, 49, 45, 0.75)
|
||||
: const Color(0xFFC2EAEF);
|
||||
|
||||
static Color get red0 =>
|
||||
_isDarkMode
|
||||
? const Color(0xFF312F2F)
|
||||
@@ -174,7 +190,6 @@ class AppColors {
|
||||
// static const Color red0 = Color(0xFF312F2F);
|
||||
// static const Color red10 = Color(0xFF524545);
|
||||
static const Color red = Color(0xFFFF3B30);
|
||||
static const Color orange = Color(0xFFE5821E);
|
||||
|
||||
// Other colors
|
||||
static const Color lightBlue = Color(0xFFe8ecfc);
|
||||
|
||||
Reference in New Issue
Block a user