[csswg-drafts] [css-color-4] Support high-contrast/dark mode colors (#3804)

fantasai has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-color-4] Support high-contrast/dark mode colors ==
With Dark Mode and MSFT's “high contrast” mode (which is more accurately a “specific contrast” mode since it also represents low-contrast settings), we anticipate that authors will want the ability to re-use relevant system colors. Revisiting the CSS System Colors, @tabatkins and I have come up with the following list of colors (based on the available [MSFT high-contrast settings](https://raw.githubusercontent.com/MicrosoftEdge/MSEdgeExplainers/master/HighContrast/TurnOnHighContrast.jpg)) which we propose to add*/undeprecate for these purposes:

- Canvas* (we'd have liked to call this “Background” but that's already used for something else)
- Text*
- LinkText*
- VisitedText*
- Highlight
- HighlightText
- GrayText (could be aliased to InactiveText or DisabledText for clarity)
- ButtonFace (could be aliased to Button for consistency)
- ButtonText

Note: MSFT doesn't distinguish visited vs. unvisited links, but as some systems may we included keywords for both variants: they can be mapped to the same color as needed.


Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3804 using your GitHub account

Received on Thursday, 4 April 2019 18:44:05 UTC