Skip to content

Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.

fix: update the color of the selection menu item

Lucas.Xu84ea888c7379
diff --git a/frontend/app_flowy/lib/plugins/document/editor_styles.dart b/frontend/app_flowy/lib/plugins/document/editor_styles.dart
index 67010af1be..816b76d5c6 100644
--- a/frontend/app_flowy/lib/plugins/document/editor_styles.dart
+++ b/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;
}