Skip to content

Commit

Permalink
indicatorColor: use primary for both light and dark themes (#309)
Browse files Browse the repository at this point in the history
It's only used for M2 tabs in Flutter but make it consistent between the
light and dark themes anyway so it'll be possible to share the theme
creation without parameterizing indicatorColor.
  • Loading branch information
jpnurmi authored Mar 10, 2023
1 parent a854186 commit 0187765
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 @@ -417,7 +417,7 @@ ThemeData createYaruLightTheme({
dividerColor: kDividerColorLight,
dialogBackgroundColor: colorScheme.background,
textTheme: createTextTheme(YaruColors.inkstone),
indicatorColor: colorScheme.secondary,
indicatorColor: colorScheme.primary,
applyElevationOverlayColor: false,
buttonTheme: _buttonThemeData,
outlinedButtonTheme: _createOutlinedButtonThemeData(colorScheme),
Expand Down

0 comments on commit 0187765

Please sign in to comment.