From 84ea888c737984774ee443f279538189d959c4d3 Mon Sep 17 00:00:00 2001 From: "Lucas.Xu" Date: Thu, 9 Feb 2023 12:37:00 +0800 Subject: [PATCH] fix: update the color of the selection menu item --- frontend/app_flowy/lib/plugins/document/editor_styles.dart | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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; }