Browse Source

fix: update the color of the selection menu item

Lucas.Xu 2 years ago
parent
commit
84ea888c73
1 changed files with 4 additions and 1 deletions
  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;
 }