1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-09-15 15:32:28 +02:00

Increase search style priority in CodeMirror editors

This commit is contained in:
Raymond Hill 2020-10-24 08:26:38 -04:00
parent 470a3bd55f
commit 516696a60c
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
2 changed files with 3 additions and 0 deletions

View File

@ -157,6 +157,7 @@ div.CodeMirror span.CodeMirror-matchingbracket {
display: none;
}
.cm-searching {
background-color: var(--cm-searching-surface) !important;
border: 1px dotted black;
}

View File

@ -49,6 +49,7 @@
--violet-60: #7542e5;
--violet-70: #592acb;
--violet-80: #45278d;
--yellow-10: #ffff98;
--yellow-30: #ffd567;
--yellow-40: #ffbd4f;
--yellow-50: #ffa436;
@ -179,6 +180,7 @@
--cm-gutter-border: var(--light-gray-40);
--cm-gutter-ink: var(--light-gray-90);
--cm-gutter-surface: var(--light-gray-25);
--cm-searching-surface: var(--yellow-10);
/* syntax highlight: static filtering */
--sf-comment-ink: var(--light-gray-90);