Procházet zdrojové kódy

fix: onPrimary and onPrimary colors (#1499)

Richard Shiue před 2 roky
rodič
revize
f02e77fcd8

+ 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,