Skip to content

Commit

Permalink
fix: darker dark theme (#4)
Browse files Browse the repository at this point in the history
* fix: darker dark theme

* fix: adapt card color
  • Loading branch information
Feichtmeier authored Aug 31, 2024
1 parent b60f1f0 commit a34d30b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/src/theme.dart
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ bool get _isMobile =>
typedef ThemePair = ({ThemeData lightTheme, ThemeData darkTheme});

const _lightBase = Colors.white;
final _darkBase = Colors.black.scale(lightness: 0.09);
final _darkMenuBase = Colors.black.scale(lightness: 0.07);
final _darkBase = Colors.black.scale(lightness: 0.04);
final _darkMenuBase = Colors.black.scale(lightness: 0.08);
const _kContainerRadius = 10.0;
const _kDesktopButtonHeight = 42.0;
const _kMobileButtonHeight = 48.0;
Expand Down Expand Up @@ -186,7 +186,7 @@ CardTheme _cardTheme(ColorScheme colorScheme) {

Color _cardColor(ColorScheme colorScheme) {
return colorScheme.surface.scale(
lightness: colorScheme.isLight ? -0.06 : 0.05,
lightness: colorScheme.isLight ? -0.06 : 0.08,
);
}

Expand Down

0 comments on commit a34d30b

Please sign in to comment.