Fully support system color keywords in Forced Colors mode

Created on 13 February 2025, about 2 months ago

Problem/Motivation

At the moment it looks like it is impossible for the user to apply their own entire color scheme in Forced Colors mode - based on a brief search in the Gin source only the following system color keywords are being used: ButtonBorder, Canvas, CanvasText, and linktext . That way the users are stuck in part with the default color scheme Forced Colors mode ships with, unable to apply their own entirely bespoke color scheme honed to their needs. For some users, like for example people with dyslexia, the colors in the default Forced Colors mode scheme, same as the colors in the two regular color modes, might have too high color contrasts, causing issues for them. Therefore they use a set of less contrasty colors to accommodate their needs - a color scheme that works for them, and they are using when browsing the internet.

Discussed and iterated on the issue with @mgifford, @the_g_bomb, @katannshaw, and @drupa11y

Steps to reproduce

Proposed resolution

Add the support for the full set of system color keywords, so the user is able to adjust Gin in Forced Colors mode to their custom set of colors (A brief introduction to the topic can be found here https://blogs.windows.com/msedgedev/2020/09/17/styling-for-windows-high-... and the list of available keywords can be found here https://developer.mozilla.org/en-US/docs/Web/CSS/system-color.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

4.0

Component

User interface

Created by

🇩🇪Germany rkoller Nürnberg, Germany

Live updates comments and jobs are added and updated live.
  • Accessibility

    It affects the ability of people with disabilities or special needs (such as blindness or color-blindness) to use Drupal.

Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024