Re: [community-group] [RFC] Theming (#2)

Not sure if this is a good idea but just throwing out there to brainstorm with y'all.

Using some of the format Swift color set uses, I made a sample that I think might work well with color tokens being expandable.

As per current state of naming, I didn't add $ in front of the luminosity and accessibility because in this example, those are names not a unique design token attributes.

```json
{
     "gray": {
            "50": {
                "$value": "#FFFFFF",
                "$type": "color",
                "$appearance": {
                    "luminosity": {
                        "dark": {
                            "$value": "#000000"
                        }
                    },
                    "accessibility": {
                        "AAA": {
                            "$value": "#000000"
                        }
                    }
                } 
            }
      }
}
```

-- 
GitHub Notification of comment by tounsoo
Please view or discuss this issue at https://github.com/design-tokens/community-group/issues/2#issuecomment-1242610543 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Saturday, 10 September 2022 03:48:04 UTC