Skip to content

Commit

Permalink
Merge pull request #132 from centrica-engineering/feature/icon-high-c…
Browse files Browse the repository at this point in the history
…ontrast
  • Loading branch information
jholt1 authored Jan 19, 2022
2 parents 50fffbb + 5520296 commit dfef164
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/library/components/icon/src/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,11 @@
display: block;
fill: $ICON_FILL;
}

@media (-ms-high-contrast: active), (forced-colors: active) {
& svg {
forced-color-adjust: none;
fill: canvastext;
}
}
}

0 comments on commit dfef164

Please sign in to comment.