Skip to content

Commit a34d30b

Browse files
authored
fix: darker dark theme (#4)
* fix: darker dark theme * fix: adapt card color
1 parent b60f1f0 commit a34d30b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/src/theme.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ bool get _isMobile =>
1212
typedef ThemePair = ({ThemeData lightTheme, ThemeData darkTheme});
1313

1414
const _lightBase = Colors.white;
15-
final _darkBase = Colors.black.scale(lightness: 0.09);
16-
final _darkMenuBase = Colors.black.scale(lightness: 0.07);
15+
final _darkBase = Colors.black.scale(lightness: 0.04);
16+
final _darkMenuBase = Colors.black.scale(lightness: 0.08);
1717
const _kContainerRadius = 10.0;
1818
const _kDesktopButtonHeight = 42.0;
1919
const _kMobileButtonHeight = 48.0;
@@ -186,7 +186,7 @@ CardTheme _cardTheme(ColorScheme colorScheme) {
186186

187187
Color _cardColor(ColorScheme colorScheme) {
188188
return colorScheme.surface.scale(
189-
lightness: colorScheme.isLight ? -0.06 : 0.05,
189+
lightness: colorScheme.isLight ? -0.06 : 0.08,
190190
);
191191
}
192192

0 commit comments

Comments
 (0)