Explorar o código

fix: update the color of the selection menu item

Lucas.Xu %!s(int64=2) %!d(string=hai) anos
pai
achega
84ea888c73
Modificáronse 1 ficheiros con 4 adicións e 1 borrados
  1. 4 1
      frontend/app_flowy/lib/plugins/document/editor_styles.dart

+ 4 - 1
frontend/app_flowy/lib/plugins/document/editor_styles.dart

@@ -23,7 +23,10 @@ EditorStyle customEditorTheme(BuildContext context) {
       fontFamily: 'poppins-Bold',
     ),
     backgroundColor: Theme.of(context).colorScheme.surface,
-    selectionMenuItemSelectedIconColor: Theme.of(context).colorScheme.primary,
+    selectionMenuItemSelectedIconColor:
+        Theme.of(context).textTheme.bodyMedium?.color,
+    selectionMenuItemSelectedTextColor:
+        Theme.of(context).textTheme.bodyMedium?.color,
   );
   return editorStyle;
 }