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

@andruud saw your PR! 🎉! Question about using this new syntax, specifically around creating properties with specific allowable idents. I've got the following registered property:

```js
CSS.registerProperty({
  name: '--theme-color',
  syntax: 'blue|green|red|yellow|grey',
  inherits: true,
  initialValue: 'blue',
});
```

Would that then convert in to 

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

Or would the separate possible idents be space separated, or be in quotes? What about the initial value? Should that be in quotes?

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

Received on Thursday, 13 December 2018 16:16:42 UTC