Skip to content

Commit

Permalink
fix(a11y): Add support for Windows high contrast mode
Browse files Browse the repository at this point in the history
  • Loading branch information
DafyddLlyr committed May 13, 2024
1 parent d946db8 commit 72aeb0b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions editor.planx.uk/src/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,11 @@ const getThemeOptions = ({
padding: 0,
border: 0,
},
img: {
"@media (forced-colors: active)": {
forcedColorAdjust: "none",
},
},
},
},
MuiButtonBase: {
Expand Down

0 comments on commit 72aeb0b

Please sign in to comment.