Skip to content

Commit faae5f9

Browse files
committed
fix!: change colorspace to colorSpace to be consistent. fixes #190
BREAKING CHANGE: It could be considered a typo, but it will be a breaking change for anyone using leonard previously.
1 parent 210908c commit faae5f9

35 files changed

+3611
-60351
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ Blue: rgb(0, **1**, 255)
5959
White: rgb(255, 255, 255)
6060
Contrast ratio: **8.57**:1
6161

62-
If 8.58 is input as the target ratio with the starting color of blue, the output will not be exact. This is exaggerated by the various colorspace interpolations.
62+
If 8.58 is input as the target ratio with the starting color of blue, the output will not be exact. This is exaggerated by the various color space interpolations.
6363

6464
Since the WCAG requirement is defined as a *minimum contrast requirement*, it should be fine to generate colors that are a little *more* accessible than the minimum.
6565

0 commit comments

Comments
 (0)