mirror of
https://github.com/less/less.js.git
synced 2026-01-22 21:58:14 -05:00
- Added spin() to change hue. - Fixed darken/lighten to be additive. - Added color extraction functions.
24 lines
442 B
CSS
24 lines
442 B
CSS
#functions {
|
|
color: #660000;
|
|
width: 16;
|
|
height: undefined("self");
|
|
border-width: 5;
|
|
variable: 11;
|
|
}
|
|
#built-in {
|
|
escaped: -Some::weird(#thing, y);
|
|
lighten: #ffcccc;
|
|
darken: #330000;
|
|
saturate: #203c31;
|
|
desaturate: #29332f;
|
|
greyscale: #2e2e2e;
|
|
spin-p: #bf6a40;
|
|
spin-n: #bf4055;
|
|
format: "rgb(32, 128, 64)";
|
|
format-string: "hello world";
|
|
eformat: rgb(32, 128, 64);
|
|
hue: 98;
|
|
saturation: 12%;
|
|
lightness: 95%;
|
|
}
|