I've found this little bug. LESS input: <pre> .color { color: rgb(0, 0, 0); } </pre> CSS output: <pre> .color { color:rgb(0,0,0); } </pre> expected output: <pre> .color { color:#000000; } </pre> I'm not sure where is the right place to call <code>$this->funcToColor($func);</code>...
Activity
jtousek commentedon Apr 20, 2010
Now I believe it should be at the beginning of compileValue method like this.
function compileValue($value) { if ($value[0] == 'function' && $color = $this->funcToColor($value)) { $value = $color; } //... }Hex color shortening (e.g. #003399 to #39)