From e0c35d15f837a509265f9e8a4888c3d2b1fd9e8f Mon Sep 17 00:00:00 2001 From: Cody Williams Date: Tue, 8 Feb 2022 15:50:27 -0800 Subject: [PATCH] style find/replace highlights add support for styling the highlight results of ckeditor searches --- midnight.css | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/midnight.css b/midnight.css index 6d4c603..4545a95 100644 --- a/midnight.css +++ b/midnight.css @@ -168,6 +168,16 @@ Leaving here for now because (1) works in older versions (2) provides control of color: #dedede !important; } +/* CKeditor find and replace highlights */ +/* while I could customize highlight color, leave the same so it matches the other trilium find method +But we should still update text color because are global whites look bad */ +.ck-find-result { + color: #000 !important; +} +.ck-find-result_selected { + color: #000 !important; +} + /* fix main left bar calendar picker */ body ::-webkit-calendar-picker-indicator { filter: invert(1);