Browse Source

fix: onPrimary and onPrimary colors (#1499)

Richard Shiue 2 years ago
parent
commit
f02e77fcd8
1 changed files with 2 additions and 2 deletions
  1. 2 2
      frontend/app_flowy/packages/flowy_infra/lib/theme.dart

+ 2 - 2
frontend/app_flowy/packages/flowy_infra/lib/theme.dart

@@ -178,9 +178,9 @@ class AppTheme {
       colorScheme: ColorScheme(
         brightness: brightness,
         primary: main1,
-        onPrimary: shader7,
+        onPrimary: _white,
         primaryContainer: main2,
-        onPrimaryContainer: shader7,
+        onPrimaryContainer: _white,
         secondary: hover,
         onSecondary: shader1,
         secondaryContainer: selector,