Skip to content

Commit

Permalink
fix(documentation): hcm searched highlighted text in documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
leagrdv committed Dec 30, 2024
1 parent 07824c4 commit 735dafc
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 color of highlighted searched text in HCM in documentation.
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 735dafc

Please sign in to comment.