mirror of
https://github.com/less/less.js.git
synced 2026-04-09 03:00:20 -04:00
Added: red() green() and blue() functions, with tests.
This commit is contained in:
@@ -48,6 +48,9 @@
|
||||
hue: hue(hsl(98, 12%, 95%));
|
||||
saturation: saturation(hsl(98, 12%, 95%));
|
||||
lightness: lightness(hsl(98, 12%, 95%));
|
||||
red: red(#f00);
|
||||
green: green(#0f0);
|
||||
blue: blue(#00f);
|
||||
rounded: round(@r/3);
|
||||
roundedpx: round(10px / 3);
|
||||
percentage: percentage(10px / 50);
|
||||
|
||||
Reference in New Issue
Block a user