- From: Miriam Suzanne via GitHub <sysbot+gh@w3.org>
- Date: Tue, 03 Mar 2020 22:13:01 +0000
- To: public-design-tokens-log@w3.org
I think there would be several things to look at. CSS already has: - Design types like sizes & colors (even layouts) in various cross-platform formats (see eg Colors Module, [level 4](https://drafts.csswg.org/css-color-4/)) - Syntax and parameters for mixed-unit math, and color-adjustments across gamuts (see eg Colors Module, [level 5](https://drafts.csswg.org/css-color-5/)) - A syntax for contextual variations, based on media-type and feature-support (with media/support queries) - Cascading logic for allowing more targeted rules to override more general patterns, allowing values to inherit, and adapting values to nested contexts (Cascading & Inheritance) - Even object-like dictionary structures (which I think of as missing from CSS) are available if you think of an entire selector block as a complex token… I think most or all of the features I've seen discussed could be built on top of existing CSS syntax, types, and functions without reinventing a number of complicated wheels. Some features might need additional work – either defining how the syntax is used, or extending it - but (like Sass) some of that work could also merge back into CSS over time. -- GitHub Notification of comment by mirisuzanne Please view or discuss this issue at https://github.com/design-tokens/community-group/issues/1#issuecomment-594197837 using your GitHub account
Received on Tuesday, 3 March 2020 22:13:03 UTC