Skip to content

Commit

Permalink
make docs search usable
Browse files Browse the repository at this point in the history
  • Loading branch information
claviska committed Nov 14, 2022
1 parent 96cac8d commit 7f76cac
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/assets/plugins/search/search.css
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,15 @@ body.site-search-visible {
color: var(--sl-color-neutral-1000);
}

@media (forced-colors: active) {
.site-search__results li[aria-selected='true'] a,
.site-search__results li[aria-selected='true'] a small,
.site-search__results li[aria-selected='true'] a sl-icon {
background-color: SelectedItem;
color: SelectedItemText;
}
}

.site-search__results h3 {
font-weight: var(--sl-font-weight-semibold);
margin: 0;
Expand Down

0 comments on commit 7f76cac

Please sign in to comment.