Explorar el Código

fix: onPrimary and onPrimary colors (#1499)

Richard Shiue hace 2 años
padre
commit
f02e77fcd8
Se han modificado 1 ficheros con 2 adiciones y 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(
         brightness: brightness,
         primary: main1,
-        onPrimary: shader7,
+        onPrimary: _white,
         primaryContainer: main2,
-        onPrimaryContainer: shader7,
+        onPrimaryContainer: _white,
         secondary: hover,
         onSecondary: shader1,
         secondaryContainer: selector,