Bladeren bron

fix: update the color of the selection menu item

Lucas.Xu 2 jaren geleden
bovenliggende
commit
84ea888c73
1 gewijzigde bestanden met toevoegingen van 4 en 1 verwijderingen
  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;
 }