Join GitHub today
[css-properties-values-api] named parameters in custom values #551
my chums and I at Wix are working on a pre-processor that extends CSS
We're somewhat uncomfortable with assigning "color1" with the value
or, more weirdly, with an equals sign:
We prefer the colon syntax, as it feels more CSS-y, and we're designing our APIs to be as close as possible to CSS, and to adhere to its syntax so that IDEs and code editors don't show our extensions as errors.
Has something like this been discussed with regards to the CSS Properties
Hang loose and stay groovy
Hm, P&V isn't really relevant here; it'll let you assign a custom property to use whatever sort of syntax we end up allowing in normal CSS. This is more a generic CSS issue, asking about how we might extend CSS syntax in the future.
And on that note, I'm not sure. We definitely haven't explored this space yet, and so we have no precedent to offer you. Both