Skip to content

Commit

Permalink
Fix appbar theme
Browse files Browse the repository at this point in the history
  • Loading branch information
Carapacik committed Dec 4, 2023
1 parent 167375a commit 9657c67
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lib/src/feature/settings/model/app_theme.dart
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,20 @@ final class AppTheme with Diagnosticable {
}) : lightTheme = ThemeData(
brightness: Brightness.light,
extensions: const [BackgroundCustomColors(background: Colors.white)],
appBarTheme: const AppBarTheme(
backgroundColor: Colors.white,
surfaceTintColor: Colors.white,
),
colorSchemeSeed: colorMode == ColorMode.other ? otherColors?.$1 ?? AppColors.green : AppColors.green,
fontFamily: FontFamily.nunito,
),
darkTheme = ThemeData(
brightness: Brightness.dark,
extensions: const [BackgroundCustomColors(background: AppColors.darkBackground)],
appBarTheme: const AppBarTheme(
backgroundColor: AppColors.darkBackground,
surfaceTintColor: AppColors.darkBackground,
),
colorSchemeSeed: colorMode == ColorMode.other ? otherColors?.$1 ?? AppColors.green : AppColors.green,
fontFamily: FontFamily.nunito,
);
Expand Down

0 comments on commit 9657c67

Please sign in to comment.