From 72aeb0b26cbce86f8e44c065d5a00dc842e3b361 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dafydd=20Ll=C5=B7r=20Pearson?= Date: Mon, 13 May 2024 11:53:46 +0100 Subject: [PATCH] fix(a11y): Add support for Windows high contrast mode --- editor.planx.uk/src/theme.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/editor.planx.uk/src/theme.ts b/editor.planx.uk/src/theme.ts index f1b4cf53f3..aac97696ef 100644 --- a/editor.planx.uk/src/theme.ts +++ b/editor.planx.uk/src/theme.ts @@ -260,6 +260,11 @@ const getThemeOptions = ({ padding: 0, border: 0, }, + img: { + "@media (forced-colors: active)": { + forcedColorAdjust: "none", + }, + }, }, }, MuiButtonBase: {