Yoast / yoast-components

Accessible React components by Yoast
GNU General Public License v3.0
21 stars 6 forks source link

Slightly darken $palette_grey_text #767

Closed afercia closed 5 years ago

afercia commented 5 years ago

See https://github.com/Yoast/my-yoast/issues/132

The color $palette_grey_text is now #646464 and on MyYoast we're using it, among other things, as the input placeholders color on a #dddddd background. This is slightly below the sufficient contrast ratio threshold: https://jdlsn.com/color/?type=hex&color=646464&color2=dddddd Luminosity Contrast Ratio: 4.36:1

I'd like to propose to change it to #616161. Added bonus: we can use $palette_grey_text on a $palette_grey across all projects, thus increasing the flexibility of the color palette.