Skip to content
This repository has been archived by the owner on Oct 1, 2020. It is now read-only.

Create better luminance function #25

Open
hyperfekt opened this issue Dec 4, 2018 · 0 comments
Open

Create better luminance function #25

hyperfekt opened this issue Dec 4, 2018 · 0 comments
Assignees
Labels
enhancement New feature or request todo This needs to be done
Milestone

Comments

@hyperfekt
Copy link
Owner

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 hyperfekt added enhancement New feature or request todo This needs to be done labels Dec 4, 2018
@hyperfekt hyperfekt added this to the 1.0 milestone Dec 4, 2018
@hyperfekt hyperfekt self-assigned this Dec 4, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request todo This needs to be done
Projects
None yet
Development

No branches or pull requests

1 participant