- From: Christoph PΓ€per via GitHub <sysbot+gh@w3.org>
- Date: Wed, 13 Nov 2024 16:56:15 +0000
- To: public-css-archive@w3.org
Crissov has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-color] New system colors: == Existing [system color](https://drafts.csswg.org/css-color/#css-system-colors) contexts in CSS: * _link_: π΅ `LinkText`, π£ `VisitedText`, π΄ `ActiveText`, or (disabled) β« `GrayText` on any background, but usually on `Canvas` * _canvas_: `CanvasText` on `Canvas` * _button_: `ButtonText` on `ButtonFace` inside `ButtonBorder` * _field_: `FieldText` on `Field` * _highlight_: `HighlightText` on `Highlight` * _mark_: π‘ `MarkText` on `Mark` * _selection_: `SelectedItemText` on `SelectedItem` * _accent_: `AccentColorText` on `AccentColor` They are all implicitly influenced by [`color-scheme` ](https://drafts.csswg.org/css-color-adjust-1/#color-scheme-prop) and may be influenced by it more directly in the future #9660. The accent context is also influenced by [`accent-color`](https://drafts.csswg.org/css-ui-4/#widget-accent) #5900. Many generic or corporate design systems specify a limited set of base colors (or rather hues). This usually includes a primary and a secondary brand color, custom β« dark/black and βͺ light/white, but also often a neutral gray, a positive π’ green (confirmation action or success message), a negative π΄ red (cancel action or failure message) and an in-between π‘ yellow or π orange (warning message), sometimes an informative π΅ blue or π£ purple. They may be used to systematically derive more tints and shades. Operating system and browser color themes may not cover all of them, although they may be used in their GUIs, e.g. for painting icons or buttons. The traffic light colors in particular are also frequently found in colored qualitative scales for criteria such as priority, urgency, impact, status, progress, severity, probability or risk. Many CMS contain features for admonition text boxes of various types that are indicated by color, icon or both; e.g.: π΅ note, π’ tip, π‘ warning, π΄ caution, π£ important. Although the color values may end up being the same as for `Mark`, `LinkText`, `VisitedText` or `ActiveText`, the following proposed suggestions for new (_message_ and _action_) system colors are clearly semantically distinct and come in foreground / background pairs: * _informative_: π΅π£ `InfoText` on `Information` * _positive_: π’ `ConfirmText` on `Confirmation` * _cautious_: π‘π `WarnText` on `Warning` * _negative_: π΄ `FailText` on `Failure` (open to bikeshedding) Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11199 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 13 November 2024 16:56:16 UTC