mirror of
https://github.com/less/less.js.git
synced 2026-05-01 03:00:22 -04:00
Keep shorthand color form the same way as named colors are kept. #2481
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
height: undefined("self");
|
||||
border-width: 5;
|
||||
variable: 11;
|
||||
background: linear-gradient(#000000, #ffffff);
|
||||
background: linear-gradient(#000, #fff);
|
||||
}
|
||||
#built-in {
|
||||
escaped: -Some::weird(#thing, y);
|
||||
@@ -60,7 +60,7 @@
|
||||
replace-single-quoted: 'foo-2';
|
||||
replace-escaped-string: bar-2;
|
||||
replace-keyword: baz-2;
|
||||
replace-with-color: "#113355#1133557";
|
||||
replace-with-color: "#135#1357";
|
||||
replace-with-number: "2em07";
|
||||
format: "rgb(32, 128, 64)";
|
||||
format-string: "hello world";
|
||||
@@ -68,7 +68,7 @@
|
||||
format-url-encode: "red is %23ff0000";
|
||||
format-single-quoted: 'hello single world';
|
||||
format-escaped-string: hello escaped world;
|
||||
format-color-as-string: "#112233";
|
||||
format-color-as-string: "#123";
|
||||
format-number-as-string: "4px";
|
||||
eformat: rgb(32, 128, 64);
|
||||
unitless: 12;
|
||||
|
||||
Reference in New Issue
Block a user