eslint / config-inspector

A visual tool for inspecting and understanding your ESLint flat configs.
https://www.npmjs.com/package/@eslint/config-inspector
Apache License 2.0
518 stars 15 forks source link

Light theme has low contrast #64

Open jwbth opened 2 weeks ago

jwbth commented 2 weeks ago

Thanks for this project, it makes configuring ESLint a lot easier.

The light theme has a very low contrast though. I initially thought something is broken, but it doesn't seem to be? image

The regular text on this screenshot is #8d94a4, which has the contrast of 3.04. The controls have an even smaller value. Even for people without visual impairments the text is barely visible. A contrast ratio of at least 4.5 is recommended by W3C.

aaronliu0130 commented 2 weeks ago

FWIW the dark theme also seems has low contrast on the top (e.g. Configs) with a contrast ratio of 2.55. just look at the text lol