Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Feature in Sass 3.5: Custom Properties #2076

Closed
nex3 opened this issue May 6, 2016 · 1 comment
Closed

New Feature in Sass 3.5: Custom Properties #2076

nex3 opened this issue May 6, 2016 · 1 comment

Comments

@nex3
Copy link
Contributor

nex3 commented May 6, 2016

The CSS custom properties spec is starting to be supported by browsers. Like libsass, Sass 3.4 supported custom properties as basically the same as normal properties. Unfortunately, this is incompatible with plain CSS; custom property values can contain almost any text, including many Sass constructs that are currently parsed as Sass.

Sass 3.5 changes the behavior to hew much more closely to CSS. Custom property values are now parsed exactly according to the CSS spec, with the sole exception of interpolation, which is provides a way for users to inject Sass objects into their custom properties.

See sass/sass#1128 for a more thorough discussion. Related specs are in

@xzyfer
Copy link
Contributor

xzyfer commented Jun 27, 2017

Started working on this. I think this is last real blocker to a stable 3.5.

bootleq added a commit to bootleq/noise that referenced this issue Oct 23, 2017
To install: `npm install`.
To run:     `npm start`.

Will require sass gem > 3.5 on system, for [custom-var][] support.

NOTE for developers:
Contribution without using these building tools were still welcome.

[grunt-contrib-sass]: https://github.com/gruntjs/grunt-contrib-sass
[custom-var]: sass/libsass#2076
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants