- From: Nate Baldwin via GitHub <sysbot+gh@w3.org>
- Date: Thu, 23 Jan 2020 19:19:15 +0000
- To: public-design-tokens-log@w3.org
I also believe that types is an important aspect of the spec, and wonder if formats differ per type? The example I have in mind is regarding color. The requirements for alternative values for color is different from the notion of alternative values based on platform or context. For instance, a brand may likely wish to follow a system like Pantone (or of their own invention), where optimal color values are manually selected for each colorspace, knowing that a direct conversion will not result in an optically correct output. Best example is CMYK to RGB, however with the fact that web uses sRGB and many device screens support P3, this becomes more relevant. ``` colors: { 'Red': [ // each tint/shade is an object in this array { name: 'red-100', contrast: 3, values: { srgb: 'rgb(a,b,c)', p3rgb: 'rgb(a,b,c)', cmyk: ... lab: ... }, ... ], 'Blue': [ ... ], 'Gray': [ ... ], } ``` I wonder how to handle grouping, which can be seen at a few levels. First level being a set of *tints and shades* each with necessary data, second being a set of the color sets (all tints and shades for every color in the palette) -- GitHub Notification of comment by NateBaldwinDesign Please view or discuss this issue at https://github.com/design-tokens/community-group/issues/1#issuecomment-577833052 using your GitHub account
Received on Thursday, 23 January 2020 19:19:17 UTC