klen / python-scss

Python scss parser.
http://packages.python.org/scss/
GNU Lesser General Public License v3.0
67 stars 12 forks source link

Color functions don't seem to work. #19

Open imathis opened 12 years ago

imathis commented 12 years ago

I was directed here from JSfiddle's support. Apparently they are using this lib. Anyway. Here's an example of color functions that don't quite seem to work:

$key: adjust-hue(#D1643D, 40); $accent: adjust-color($key, $hue: 143); // <-- this one doesn't work.

div { width: 50px; height: 50px; float: left; background: red; }

.div1 { background: $key; } .div2 { background: $accent; } // <-- this div ends up being red because the $accent color isn't set.

Live example: http://jsfiddle.net/ye52D/