mirror of
https://github.com/less/less.js.git
synced 2026-02-09 06:25:24 -05:00
Adding gsub function
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
}
|
||||
#built-in {
|
||||
escaped: -Some::weird(#thing, y);
|
||||
gsub: "Hello, World!";
|
||||
lighten: #ffcccc;
|
||||
darken: #330000;
|
||||
saturate: #203c31;
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
#built-in {
|
||||
@r: 32;
|
||||
escaped: e("-Some::weird(#thing, y)");
|
||||
gsub: gsub("Hello, Foo.", "Foo\.$", "World!");
|
||||
lighten: lighten(#ff0000, 40%);
|
||||
darken: darken(#ff0000, 40%);
|
||||
saturate: saturate(#29332f, 20%);
|
||||
|
||||
Reference in New Issue
Block a user