schemedoc / srfi-metadata

Import SRFI metadata into the Scheme API
https://docs.scheme.org/srfi/support/
MIT License
10 stars 2 forks source link

Color theme from a graphic designer / accessibility #19

Open lassik opened 3 years ago

lassik commented 3 years ago

Should we get a color theme made by someone who is well versed graphic design?

There are ready-made themes for things like terminal emulators and text editors, plus color theme generators like https://coolors.co/. The latter follow some mathematical principle for choosing colors that go well together.

lassik commented 3 years ago

Also how do we take color blindness into account? Green-red blindness is the most common variant. Are there any recommendations for which combination to use instead?

jpellegrini commented 3 years ago

Also how do we take color blindness into account? Green-red blindness is the most common variant. Are there any recommendations for which combination to use instead?

Maybe make the style configurable to some extent? Someone who's color-blind could prefer to have italics and bold instead -- or configurable colors, maybe?

lassik commented 3 years ago

We could also use both color and style at once. The current table already uses different kinds of checkmarks for supported and unsupported ones, so we're already doing some of that. Are we distinguishing supported-in-release vs supported-in-pre-release vs supported-externally clearly enough?

Hey, https://coolors.co/ also has color blindness settings; click on the glasses icon in at the top toolbar of the generator. Apparently protanopia means green-red blindness.

lassik commented 3 years ago

My bad, @erkin had already taken the current colors from a set of recommendations for taking color blindness into account: https://github.com/schemedoc/srfi-metadata/blob/9ac960d2d7577ef8776508a16780a3c8c86b85eb/table.rkt#L71. Sorry for missing that.

This palette seems to be pretty extremely geared toward clarity at the expense of harmony (e.g. comparing the white and orange to the others). Could we have something a bit more subtle that still makes some concessions to the common form of red-green blindness? After all, we do have the glyphs as well (different kinds of checkmarks).

At some point we should probably have doc.scheme.org-wide themes that are selectable by the user.

jpellegrini commented 3 years ago

If possible, it would be nice also to have colors that do look at least OK when using a dark theme on the browser. I'm using Firefox with a dark GTK theme, and the table looks really worse than when using the standard (light) theme.