mirror of
https://github.com/less/less.js.git
synced 2026-04-09 03:00:20 -04:00
(new) Additions & improvements to color functions.
- Added spin() to change hue. - Fixed darken/lighten to be additive. - Added color extraction functions.
This commit is contained in:
@@ -7,12 +7,17 @@
|
||||
}
|
||||
#built-in {
|
||||
escaped: -Some::weird(#thing, y);
|
||||
lighten: #ff8080;
|
||||
darken: #800000;
|
||||
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%;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user