Re: [css-houdini-drafts] [css-properties-values-api] Allow custom property descriptors with a CSS @-rule (#137)

@Snugug What @AmeliaBR originally suggested, and what I proposed in the PR, would be:

```
@property --theme-color {
  syntax: "blue|green|red|yellow|grey";
  inherits: true;
  initial-value: blue;
}
```

I.e. the `syntax` is parsed as a string, requiring quotes (I assume, haven't read every word of css-syntax). The `initial-value` is parsed as a token stream, just like custom property declarations. In your example `blue` is correct, without quotes.

-- 
GitHub Notification of comment by andruud
Please view or discuss this issue at https://github.com/w3c/css-houdini-drafts/issues/137#issuecomment-447058372 using your GitHub account

Received on Thursday, 13 December 2018 17:45:47 UTC