Skip to content

Commit

Permalink
Fix theme after change to onSurface.
Browse files Browse the repository at this point in the history
  • Loading branch information
amugofjava committed May 29, 2024
1 parent b782467 commit 86209c4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/ui/themes.dart
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ ThemeData _buildLightTheme() {
secondary: Color(0xfffb8c00),
surface: Color(0xffffffff),
error: Color(0xffd32f2f),
onSurface: Color(0xffff9800),
onSurface: Color(0xfffb8c00),
),
bottomAppBarTheme: const BottomAppBarTheme().copyWith(
color: const Color(0xffffffff),
Expand All @@ -40,7 +40,7 @@ ThemeData _buildLightTheme() {
disabledColor: const Color(0x61000000),
secondaryHeaderColor: const Color(0xffffffff),
dialogBackgroundColor: const Color(0xffffffff),
indicatorColor: Colors.orange,
indicatorColor: Colors.blueAccent,
hintColor: const Color(0x8a000000),
primaryTextTheme: Typography.material2021(platform: TargetPlatform.android).black,
textTheme: Typography.material2021(
Expand Down Expand Up @@ -70,7 +70,7 @@ ThemeData _buildLightTheme() {
statusBarIconBrightness: Brightness.dark,
)),
snackBarTheme: base.snackBarTheme.copyWith(
actionTextColor: Colors.orange,
actionTextColor: Colors.white,
),
outlinedButtonTheme: OutlinedButtonThemeData(
style: OutlinedButton.styleFrom(foregroundColor: Colors.grey[800]),
Expand All @@ -87,7 +87,7 @@ ThemeData _buildDarkTheme() {
secondary: Color(0xfffb8c00),
surface: Color(0xff222222),
error: Color(0xffd32f2f),
onSurface: Color(0xff656565),
onSurface: Color(0xffffffff),
),
bottomAppBarTheme: const BottomAppBarTheme().copyWith(
color: const Color(0xff222222),
Expand Down

0 comments on commit 86209c4

Please sign in to comment.