@@ -4,12 +4,12 @@ class AppTheme {
44 static const Color _bg = Color (0xFF000000 );
55 static const Color _panel = Color (0xFF111111 );
66 static const Color _accent = Color (0xFFFF2D55 );
7- static const Color _liteBg = Color (0xFF2F272B );
8- static const Color _litePanel = Color (0xFF3B3238 );
9- static const Color _litePanelElevated = Color (0xFF4B4148 );
10- static const Color _liteAccent = Color (0xFFFF355E );
11- static const Color _liteNeutral = Color (0xFFF4E7D8 );
12- static const Color _litePurple = Color (0xFFC4A7E7 );
7+ static const Color _liteBg = Color (0xFFF7F1E8 );
8+ static const Color _litePanel = Color (0xFFFFFAF3 );
9+ static const Color _litePanelElevated = Color (0xFFF2E6D8 );
10+ static const Color _liteAccent = Color (0xFFE11D48 );
11+ static const Color _liteNeutral = Color (0xFF3D2B24 );
12+ static const Color _liteSupporting = Color (0xFF8B1E3F );
1313
1414 static ThemeData get dark {
1515 final base = ThemeData .dark (useMaterial3: true );
@@ -44,14 +44,15 @@ class AppTheme {
4444 }
4545
4646 static ThemeData get lite {
47- final base = ThemeData .dark (useMaterial3: true );
47+ final base = ThemeData .light (useMaterial3: true );
4848 final scheme = base .colorScheme.copyWith (
4949 surface: _litePanel,
5050 primary: _liteAccent,
51- secondary: _liteNeutral ,
52- tertiary: _litePurple ,
53- onSurface: Colors .white ,
51+ secondary: _liteSupporting ,
52+ tertiary: _liteNeutral ,
53+ onSurface: _liteNeutral ,
5454 onPrimary: Colors .white,
55+ outline: _liteNeutral.withValues (alpha: 0.24 ),
5556 );
5657
5758 return base .copyWith (
@@ -60,7 +61,7 @@ class AppTheme {
6061 colorScheme: scheme,
6162 appBarTheme: const AppBarTheme (
6263 backgroundColor: _liteBg,
63- foregroundColor: Colors .white ,
64+ foregroundColor: _liteNeutral ,
6465 centerTitle: false ,
6566 ),
6667 cardTheme: CardThemeData (
@@ -88,32 +89,38 @@ class AppTheme {
8889 fillColor: _litePanelElevated,
8990 border: OutlineInputBorder (
9091 borderRadius: BorderRadius .circular (14 ),
91- borderSide: const BorderSide (color: Colors .white24 ),
92+ borderSide: BorderSide (color: _liteNeutral. withValues (alpha : 0.2 ) ),
9293 ),
9394 enabledBorder: OutlineInputBorder (
9495 borderRadius: BorderRadius .circular (14 ),
95- borderSide: const BorderSide (color: Colors .white24 ),
96+ borderSide: BorderSide (color: _liteNeutral. withValues (alpha : 0.2 ) ),
9697 ),
9798 focusedBorder: OutlineInputBorder (
9899 borderRadius: BorderRadius .circular (14 ),
99100 borderSide: const BorderSide (color: _liteAccent),
100101 ),
102+ labelStyle: const TextStyle (color: _liteNeutral),
103+ hintStyle: TextStyle (color: _liteNeutral.withValues (alpha: 0.58 )),
101104 ),
102105 switchTheme: SwitchThemeData (
103106 thumbColor: WidgetStateProperty .resolveWith <Color ?>(
104- (Set <WidgetState > states) => states.contains (WidgetState .selected)
105- ? _liteAccent
106- : _liteNeutral,
107+ (Set <WidgetState > states) =>
108+ states.contains (WidgetState .selected) ? _liteAccent : _litePanel,
107109 ),
108110 trackColor: WidgetStateProperty .resolveWith <Color ?>(
109111 (Set <WidgetState > states) => states.contains (WidgetState .selected)
110112 ? _liteAccent.withValues (alpha: 0.35 )
111- : Colors .white24 ,
113+ : _liteNeutral. withValues (alpha : 0.24 ) ,
112114 ),
113115 ),
116+ chipTheme: base .chipTheme.copyWith (
117+ backgroundColor: _litePanelElevated,
118+ side: BorderSide (color: _liteNeutral.withValues (alpha: 0.16 )),
119+ labelStyle: const TextStyle (color: _liteNeutral),
120+ ),
114121 textTheme: base .textTheme.apply (
115- bodyColor: Colors .white ,
116- displayColor: Colors .white ,
122+ bodyColor: _liteNeutral ,
123+ displayColor: _liteNeutral ,
117124 ),
118125 );
119126 }
0 commit comments