@@ -18,6 +18,7 @@ class ThemeProvider extends ChangeNotifier {
18
18
Color ? buttonText;
19
19
Color ? navSelected;
20
20
Color ? cardColor;
21
+ Color ? cardSurfaceTintColor;
21
22
Color ? statusBar;
22
23
23
24
bool _useMaterial3 = true ;
@@ -47,26 +48,32 @@ class ThemeProvider extends ChangeNotifier {
47
48
final _colorMainTextLIGHT = Colors .black;
48
49
final _colorButtonTextLIGHT = Colors .white;
49
50
final _colorNavSelectedLIGHT = Colors .blueGrey[100 ];
50
- final _colorCardLIGHT = Colors .white;
51
51
final _colorStatusBarLIGHT = Colors .blueGrey;
52
+ // Cards
53
+ final _colorCardLIGHT = Colors .white;
54
+ final _surfaceTintCardLIGHT = Colors .white;
52
55
53
56
// COLORS ##DARK##
54
57
final _canvasBackgroundDARK = Colors .grey[900 ];
55
58
final _colorBackgroundDARK = Colors .grey[800 ];
56
59
final _colorMainTextDARK = Colors .grey[50 ];
57
60
final _colorButtonTextDARK = Colors .grey[200 ];
58
61
final _colorNavSelectedDARK = Colors .blueGrey[600 ];
62
+ final _colorStatusBarDARK = Color .fromARGB (255 , 37 , 37 , 37 );
63
+ // Cards
59
64
final _colorCardDARK = Colors .grey[800 ];
60
- final _colorStatusBarDARK = const Color . fromARGB ( 255 , 37 , 37 , 37 ) ;
65
+ final _surfaceTintCardDARK = Colors .grey[ 800 ] ;
61
66
62
67
// COLORS ##EXTRA DARK##
63
68
final _canvasBackgroundExtraDARK = Colors .black;
64
- final _colorBackgroundExtraDARK = const Color (0xFF0C0C0C );
69
+ final _colorBackgroundExtraDARK = Color (0xFF0C0C0C );
65
70
final _colorMainTextExtraDARK = Colors .grey[50 ];
66
71
final _colorButtonTextExtraDARK = Colors .grey[200 ];
67
72
final _colorNavSelectedExtraDARK = Colors .blueGrey[800 ];
68
- final _colorCardExtraDARK = const Color (0xFF131313 );
69
- final _colorStatusBarExtraDARK = const Color (0xFF0C0C0C );
73
+ final _colorStatusBarExtraDARK = Color (0xFF0C0C0C );
74
+ // Cards
75
+ final _colorCardExtraDARK = Color .fromARGB (255 , 14 , 14 , 14 );
76
+ final _surfaceTintCardExtraDARK = Color .fromARGB (255 , 14 , 14 , 14 );
70
77
71
78
void _getColors () {
72
79
switch (_currentTheme) {
@@ -77,6 +84,7 @@ class ThemeProvider extends ChangeNotifier {
77
84
buttonText = _colorButtonTextLIGHT;
78
85
navSelected = _colorNavSelectedLIGHT;
79
86
cardColor = _colorCardLIGHT;
87
+ cardSurfaceTintColor = _surfaceTintCardLIGHT;
80
88
statusBar = _colorStatusBarLIGHT;
81
89
case AppTheme .dark:
82
90
canvas = _canvasBackgroundDARK;
@@ -85,6 +93,7 @@ class ThemeProvider extends ChangeNotifier {
85
93
buttonText = _colorButtonTextDARK;
86
94
navSelected = _colorNavSelectedDARK;
87
95
cardColor = _colorCardDARK;
96
+ cardSurfaceTintColor = _surfaceTintCardDARK;
88
97
statusBar = _colorStatusBarDARK;
89
98
case AppTheme .extraDark:
90
99
canvas = _canvasBackgroundExtraDARK;
@@ -93,6 +102,7 @@ class ThemeProvider extends ChangeNotifier {
93
102
buttonText = _colorButtonTextExtraDARK;
94
103
navSelected = _colorNavSelectedExtraDARK;
95
104
cardColor = _colorCardExtraDARK;
105
+ cardSurfaceTintColor = _surfaceTintCardExtraDARK;
96
106
statusBar = _colorStatusBarExtraDARK;
97
107
}
98
108
}
0 commit comments