Added: red() green() and blue() functions, with tests.

This commit is contained in:
Lucas Green
2012-05-09 01:08:26 -07:00
committed by Luke Page
parent 56f11e9666
commit e812e16656
3 changed files with 15 additions and 0 deletions

View File

@@ -44,6 +44,9 @@
hue: 98;
saturation: 12%;
lightness: 95%;
red: 255;
green: 255;
blue: 255;
rounded: 11;
roundedpx: 3px;
percentage: 20%;

View File

@@ -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);