Tags: spenserblack/gengo
Tags
Use relative luminance to pick black or white text (#494) When choosing if the text on top of a color should be black or white, HSL didn't do a great job for colors with a bright green color channel. It turns out that green accounts for most of typical human vision. This probably explains why `#FFFF00` looks brighter than `#0000FF`, even though both have the same L value for HSL. Reference: https://en.wikipedia.org/wiki/Relative_luminance
Bump insta from 1.34.0 to 1.35.1 (#309) Bumps [insta](https://github.com/mitsuhiko/insta) from 1.34.0 to 1.35.1. - [Changelog](https://github.com/mitsuhiko/insta/blob/master/CHANGELOG.md) - [Commits](mitsuhiko/insta@1.34.0...1.35.1) --- updated-dependencies: - dependency-name: insta dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
PreviousNext