Skip to content

Commit

Permalink
fix(documentation): hcm searched highlighted text in documentation (#…
Browse files Browse the repository at this point in the history
…4365)

Co-authored-by: Alizé Debray <[email protected]>
  • Loading branch information
leagrdv and alizedebray authored Dec 30, 2024
1 parent ca1d4c5 commit de9123b
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/thirty-chairs-suffer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-documentation': patch
---

Fixed the color of the highlighted search text in the documentation in High Contrast Mode.
11 changes: 11 additions & 0 deletions packages/documentation/.storybook/styles/manager.scss
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,17 @@
}
}

#storybook-explorer-menu {
.search-result-item--label {
mark {
@include utilities.high-contrast-mode() {
background-color: Mark;
color: MarkText;
}
}
}
}

#downshift-1-menu {
.search-result-item {
svg {
Expand Down

0 comments on commit de9123b

Please sign in to comment.