The color contrast of the dark mode falls below the minimum AA standard - specifically the blue and dark gray of the interface. See attached image.

I'm not sure if it makes sense to make the colors configurable, but at the least, it should meet AA standards.

-mike

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

ultimike created an issue. See original summary.

elber’s picture

What is the "AA" standards ?

ijf8090’s picture

The Web Content Accessibility Guidelines (WCAG) is the most-used standard worldwide. There are three levels of WCAG compliance; A, AA, and AAA.

"Level AA conformance level is used in most accessibility rules and regulations around the world, including the ADA. To meet WCAG 2.0 Level AA conformance, the website is usable and understandable for the majority of people with or without disabilities."

For more information see https://www.accessiblemetrics.com/blog/what-are-the-levels-of-wcag-compl...

elber’s picture

elber’s picture

Assigned: Unassigned » elber
elber’s picture

Assigned: elber » Unassigned
nk_’s picture

StatusFileSize
new7.28 KB

Here is the patch, changes are to target desired contrast standard only, without any particular "design" idea.

elber’s picture

Assigned: Unassigned » elber
Status: Active » Needs review
nk_’s picture

Here is the new patch that includes more UI elements (i.e. buttons) so feel free to ignore the first one. I did get a report that blue+white combination on hover/focus states fails on AA standard contrast but did not feel like going there and deconstructing the whole design after all.

Attaching also screenshots of UI with those changes applied.

mahmoud-zayed’s picture

Status: Needs review » Needs work

We use scss then compile to css, please add the scss changes. thanks

mahmoud-zayed’s picture

Version: 1.0.x-dev » 2.0.x-dev