diff --git a/lib/res/theme.dart b/lib/res/theme.dart index e787901..52e0e92 100644 --- a/lib/res/theme.dart +++ b/lib/res/theme.dart @@ -30,7 +30,7 @@ ThemeData themeFrom(Color primaryColor, Brightness brightness) { colorScheme: scheme, appBarTheme: AppBarTheme( elevation: 4, - color: scheme.background, + color: scheme.surface, surfaceTintColor: scheme.surfaceTint, ), cardTheme: CardTheme( @@ -58,7 +58,7 @@ ThemeData themeFrom(Color primaryColor, Brightness brightness) { iconColor: scheme.onSurface, textColor: scheme.onSurface, ), - scaffoldBackgroundColor: scheme.background, + scaffoldBackgroundColor: scheme.surface, ); return theme.copyWith( listTileTheme: ListTileThemeData( diff --git a/lib/screens/timer/screen_timer.dart b/lib/screens/timer/screen_timer.dart index 285d8f4..74f2c2e 100644 --- a/lib/screens/timer/screen_timer.dart +++ b/lib/screens/timer/screen_timer.dart @@ -68,6 +68,7 @@ class TimerScreenState extends State with TickerProviderStateMixin listenWhen: (previous, current) => previous.runtimeType != current.runtimeType, listener: (context, state) => _updateAnimations(state), child: Scaffold( + backgroundColor: Theme.of(context).colorScheme.background, body: Center( child: Column( mainAxisAlignment: MainAxisAlignment.center,