Browse Source

fix: onPrimary and onPrimary colors (#1499)

Richard Shiue 2 năm trước cách đây
mục cha
commit
f02e77fcd8
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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,