stark-contrast / stark-sketch-plugin

Ensure your design is accessible and high contrast for every type of color blindness
https://github.com/stark-contrast/stark-sketch-plugin/archive/main.zip
MIT License
46 stars 5 forks source link

Color Contrast with Opacity #21

Closed moxylady closed 5 years ago

moxylady commented 6 years ago

Firstly, thanks so much for creating and supporting this plugin! It's incredible to have the color contrast and color deficiencies in one tool.

When selecting 2 layers (text and a background color with opacity), I noticed the color contrast is calculated on the full opacity version of each's colors. Could a future enhancement take into account opacity, or even better yet — calculate the optical result of any number of layers, including just 1 over an artboard color? (This is in another request as the ultimate goal, but may be necessary for calculating the resulting color of what that translucent layer's color turns into.)

mfouquet commented 5 years ago

Moved to: https://github.com/stark-contrast/user-feedback/issues/4