You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One enhancement I'd love to see - as colours are added to the collection is there any way the the tints could all be matched to the same perceptual luminance - possibly using HSLuv (https://www.hsluv.org/)?
There's a good reason for doing this - design systems like Shopify Polaris (https://polaris.shopify.com/design/colors/palettes-and-roles) use HSLuv to ensure that the relationship between tints of different colours create the same contrast ratio for accessibility. The upshot of this is that you can put magenta-14 against pink/gray/yellow/ -7 and know it'll meet minimum contrast requirements.
The text was updated successfully, but these errors were encountered:
First - amazing work - looks great!
One enhancement I'd love to see - as colours are added to the collection is there any way the the tints could all be matched to the same perceptual luminance - possibly using HSLuv (https://www.hsluv.org/)?
There's a good reason for doing this - design systems like Shopify Polaris (https://polaris.shopify.com/design/colors/palettes-and-roles) use HSLuv to ensure that the relationship between tints of different colours create the same contrast ratio for accessibility. The upshot of this is that you can put magenta-14 against pink/gray/yellow/ -7 and know it'll meet minimum contrast requirements.
The text was updated successfully, but these errors were encountered: