Emulating Windows High Contrast Mode (forced-colors: dark) on a site

137 Views Asked by At

I've noticed that Chrome has the ability to activate an emulation of forced-colors: dark (aka Windows High Contrast Mode). I'd like to add a button to enable high contrast mode to a site, so users can do so rapidly if they choose to.

So far the best I've managed is writing a ton of CSS that doesn't work anywhere near as well as Chrome's built in emulation.

0

There are 0 best solutions below