Skip to content

Latest commit

 

History

History
29 lines (18 loc) · 955 Bytes

README.md

File metadata and controls

29 lines (18 loc) · 955 Bytes

Forced Colors Chrome Extension

This chrome extension allows you to quickly enable and disable forced colors emulation

It can be enabled in the dev tools but I'm lazy :)

When clicking on the extension icon, it will cycle between 3 modes:

  • Forced color with dark theme
  • Forced color with light theme
  • Nothing
extension_preview.mov

It's not in the chrome store for now, you can load it with the developer mode

Testing

There is a playwright test with snapshots

npx playwright test

Snapshots are generated for darwin and linux, if you are on windows, you can use the following command to generate them:

npx playwright test --update-snapshots