oddbird / sass-json-export

JSON exporter for Sass. Based on SassyJSON, by Kitty Giraudel.
MIT License
12 stars 4 forks source link

Resolve Sass deprecation warnings (Sass 3.5+) #3

Closed ryanobrooks closed 6 years ago

ryanobrooks commented 6 years ago

Resolve Sass deprecation warnings that appear in Sass 3.5+:

Example warnings:

DEPRECATION WARNING: Passing a string to call() is deprecated and will be illegal
in Sass 4.0. Use call(get-function("-json-encode--map")) instead.

DEPRECATION WARNING: Passing a string to call() is deprecated and will be illegal
in Sass 4.0. Use call(get-function("-json-encode--color")) instead.
jgerigmeyer commented 6 years ago

I don't see a problem with this change, though I'm curious in what context you're using this repo. (The primary usage I was aware of was for integration with Herman [http://oddbird.net/herman/], and that functionality has since been built-in.)

ryanobrooks commented 6 years ago

Hi @jgerigmeyer, Thanks for the reply. We're using this package as a way to dynamically output the color variables used in our projects for displaying in a custom style guide.

jgerigmeyer commented 6 years ago

Released in v2.0.1.