Releases: opendevtools/wcag-color
Releases · opendevtools/wcag-color
Best out of two colors
- feat: add best b00e14b
- test: simplify testing 4672638
- chore: run prettier on js files 8956db1
- Merge branch 'master' of https://github.com/believer/wcag-color 2b16368
- chore: remove rei files d1a9ff5
- docs: add npm badge 79bb723
- chore: delete action workflow 378230f
- chore(workflow): update test command 1f753f0
- chore(workflow): update test command 89bef15
- chore(workflow): update a2b0544
- chore: rename workflow fbb89e2
Scores and lightness
This release adds score
and scoreFromRatio
. It fixes a bug with lightness values and simplifies when foreground and background colors are exactly the same.
Breaking changes
- Old
score
function moved toratio
where it should've been in the first place.