Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

editor: fix text on selected search result not visible

Abdullah Atta7a48c7c1e372
diff --git a/packages/editor/styles/styles.css b/packages/editor/styles/styles.css
index b4cca0257..6b9ad157e 100644
--- a/packages/editor/styles/styles.css
+++ b/packages/editor/styles/styles.css
@@ -286,10 +286,11 @@ img.ProseMirror-separator {
.search-result.selected {
background-color: var(--accent-secondary) !important;
+ color: var(--accentForeground-secondary);
}
.search-result {
- background-color: var(--background-secondary);
+ background-color: var(--shade-secondary);
}
/* .line-number-widget,