ColorWarningColorWarning warns when website colors are hard to read, or hard to tell apart, for people with color-vision deficiency. Open a stylesheet, a static Tailwind theme, or a JSON token file. A warning appears on text that passes ordinary contrast and fails after simulation, and on status colors that collide after simulation. The warning highlights the color. Passing pairs, ordinary contrast failures, gradients, and unknown variables stay quiet. The extension does not change the file, and it does not repaint the page. Put The same check is available as a command and a GitHub Action at github.com/ManOfNeptune27/ColorWarning. |