Re: [community-group] Types for CSS Keywords (#177)

> Definitely agree that we need a type that passes through a string of text, for all sorts of string-y values, not just CSS keywords

I think you misunderstood :)
This issue is not about string values, it is about keywords.

Keyword:
```css
.foo {
  text-align: center;
}
```

String:
```css
.foo {
  content: "string content";
}
```

But in JSON both need to be stored as strings :

```json
{
  "$value": "center"
}
```

```json
{
  "$value": "string content"
}
```

But all languages/platforms have keywords too:
```json
{
  "$value": "infinity"
}
```

```js
const foo = Infinity;
```


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


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

Received on Sunday, 4 December 2022 21:23:52 UTC