klen / python-scss

Python scss parser.

Home Page:http://packages.python.org/scss/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Color functions don't seem to work.

imathis opened this issue · comments

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/