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

Comments

Projects
None yet
2 participants
@nex3
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

This comment has been minimized.

Show comment
Hide comment
@xzyfer

xzyfer Jun 27, 2017

Contributor

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

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

Use [grunt-contrib-sass][] for easier development
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

@xzyfer xzyfer closed this in #2534 Jan 14, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment