Open adamsoderstrom opened 1 week ago
Latest commit: 4f44f4eff5263b8fce91718607dea997730edb87
The changes in this PR will be included in the next version bump.
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
Nice job @adamsoderstrom :) Do we feel the need to write tests for these functions or is it good enough that colorContrast
which uses them all has its test?
Nice job @adamsoderstrom :) Do we feel the need to write tests for these functions or is it good enough that
colorContrast
which uses them all has its test?
I do think that we shouldn't implicitly rely on tests on other functions.
I could write the tests according to the examples! 😊
calculateLuminance
to consumer of packagecalculateContrast
to consumer of packagehexToRGB
to consumer of packagecalculateContrast
,calculateLuminance
andhexToRGB
utility functionsfixes #205