style/quick search results: customize the highlight color

This commit is contained in:
Adorian Doran 2025-08-27 03:01:40 +03:00 committed by Elian Doran
parent 620b57bfa6
commit e2cd357319
No known key found for this signature in database
3 changed files with 10 additions and 0 deletions

View File

@ -122,6 +122,7 @@
--quick-search-focus-background: #ffffff1f; --quick-search-focus-background: #ffffff1f;
--quick-search-focus-color: white; --quick-search-focus-color: white;
--quick-search-result-content-background: #0000004d; --quick-search-result-content-background: #0000004d;
--quick-search-result-highlight-color: #a4d995;
--left-pane-collapsed-border-color: #0009; --left-pane-collapsed-border-color: #0009;
--left-pane-background-color: #1f1f1f; --left-pane-background-color: #1f1f1f;

View File

@ -116,6 +116,7 @@
--quick-search-focus-background: #ffffff80; --quick-search-focus-background: #ffffff80;
--quick-search-focus-color: #000; --quick-search-focus-color: #000;
--quick-search-result-content-background: #00000017; --quick-search-result-content-background: #00000017;
--quick-search-result-highlight-color: #c65050;
--left-pane-collapsed-border-color: #0000000d; --left-pane-collapsed-border-color: #0000000d;
--left-pane-background-color: #f2f2f2; --left-pane-background-color: #f2f2f2;

View File

@ -614,6 +614,14 @@ div.quick-search .search-button.show {
border-radius: 4px; border-radius: 4px;
} }
/* Highlighted search terms */
:root .quick-search .search-result-title b,
:root .quick-search .search-result-content b,
:root .quick-search .search-result-attributes b {
color: var(--quick-search-result-highlight-color);
font-weight: 600;
}
/* Divider line */ /* Divider line */
.quick-search .dropdown-item::after { .quick-search .dropdown-item::after {
display: none; display: none;