Open ssk101 opened 2 years ago
@ssk101 thank you for opening this issue, I would happily take a patch that increases contrast.
@ssk101 for what it's worth, this patch is already open:
https://github.com/yargs/yargs.github.io/pull/62
But it has a couple layout issues I think we should try to fix.
For browsers running on Linux, the tiny font-size and weight of 400 in combination with the color
#2badad
on a#ffffff
background make the items in the left-hand menu on yargs.js.org/docs especially difficult and eye-straining to read. Besides the size and weight, the color combination also fail WCAG contrast checker tests.I suggest darkening the font color slightly, increasing the font-weight from 400 to 700 and increase the font-size from
.9em
to1em
.Thank you.
Chrome, Manjaro: