Explorar o código

fix: onPrimary and onPrimary colors (#1499)

Richard Shiue %!s(int64=2) %!d(string=hai) anos
pai
achega
f02e77fcd8
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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(
       colorScheme: ColorScheme(
         brightness: brightness,
         brightness: brightness,
         primary: main1,
         primary: main1,
-        onPrimary: shader7,
+        onPrimary: _white,
         primaryContainer: main2,
         primaryContainer: main2,
-        onPrimaryContainer: shader7,
+        onPrimaryContainer: _white,
         secondary: hover,
         secondary: hover,
         onSecondary: shader1,
         onSecondary: shader1,
         secondaryContainer: selector,
         secondaryContainer: selector,