[wp-trac] [WordPress Trac] #49999: Iterating on Admin Color Schemes
WordPress Trac
noreply at wordpress.org
Thu May 21 22:53:10 UTC 2020
#49999: Iterating on Admin Color Schemes
----------------------------+-------------------------------------
Reporter: ryelle | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Administration | Version:
Severity: normal | Resolution:
Keywords: | Focuses: ui, accessibility, css
----------------------------+-------------------------------------
Comment (by joyously):
The problem with your middle, mapping step is that it defines Custom
Properties. Oh, I see that is also in your component CSS. If you keep all
the definitions at the :root level, it is much easier to be backward
compatible with old browsers.
I think that's much too complicated. To reduce the number of colors used
in the admin, and the chance of inaccessible combinations, I would suggest
that the variables be limited to pairs (foreground, background) of colors
to use for the various areas or prominence (such as primary, secondary,
and hover states). There is a concern of whether the notifications should
be part of the admin scheme, or always the same (specifying both
foreground and background).
Generating many shades for all colors is not reducing the total colors.
There are other ways of modifying a base color, such as using transparency
and/or black and white semi-transparent colors in addition to the base.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49999#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list