瀏覽代碼

fix: update the color of the selection menu item

Lucas.Xu 2 年之前
父節點
當前提交
84ea888c73
共有 1 個文件被更改,包括 4 次插入1 次删除
  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;
 }