yargs / yargs.github.io

the yargs.js.org website.
http://yargs.js.org
ISC License
9 stars 14 forks source link

Please change the contrast/font of the link elements on the documentation page #63

Open ssk101 opened 2 years ago

ssk101 commented 2 years ago

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 to 1em.

Thank you.

Chrome, Manjaro:

image

bcoe commented 2 years ago

@ssk101 thank you for opening this issue, I would happily take a patch that increases contrast.

bcoe commented 2 years ago

@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.