google-dark icon indicating copy to clipboard operation
google-dark copied to clipboard

Create better luminance function

Open hyperfekt opened this issue 7 years ago • 0 comments

We determine luminance of the chosen accent color to decide whether to use black or white text with it, depending on what has greater contrast. At the moment there are some colors for which the lesser contrast option may be chosen, no matter the cutoff used.

hyperfekt avatar Dec 04 '18 18:12 hyperfekt