prism
prism copied to clipboard
getContrastScore of 3.00
Noticed a 3:1 score marked as a Fail, is this a bug or just some rounding under the hood?
Expected result: Score of exactly 3.00 = "AA+"
Actual result: Score of exactly 3.00 = "Fail"
https://github.com/primer/prism/blob/5bc512f6409f44b2e52ad3fb4d72df6a528489e3/src/utils.ts#L42