klen/python-scss — Issue #19: Color functions don't seem to work.
Author: imathis
Created: 2011-10-31 20:40:23+00:00
State: open

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/