Skip to content

Commit

Permalink
BottomNavigationBarTheme: use onSurface in dark theme (#308)
Browse files Browse the repository at this point in the history
To unify with the light theme.

NOTE: It's not clean white but #fafafa aka "porcelain".
  • Loading branch information
jpnurmi authored Mar 10, 2023
1 parent 4fae739 commit a854186
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/themes/common_themes.dart
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,7 @@ ThemeData createYaruDarkTheme({
_getFloatingActionButtonThemeData(colorScheme, Brightness.dark),
bottomNavigationBarTheme: BottomNavigationBarThemeData(
selectedItemColor: colorScheme.primary,
unselectedItemColor: Colors.white.withOpacity(0.8),
unselectedItemColor: colorScheme.onSurface.withOpacity(0.8),
),
inputDecorationTheme:
_createInputDecorationTheme(colorScheme, Brightness.dark),
Expand Down

0 comments on commit a854186

Please sign in to comment.