mirror of
https://github.com/less/less.js.git
synced 2026-02-08 22:15:04 -05:00
More consistent named colour variables. Updated.
This commit is contained in:
@@ -793,7 +793,7 @@ less.Parser = function Parser(env) {
|
||||
// black border-collapse
|
||||
//
|
||||
keyword: function () {
|
||||
var k = $(/^[_A-Za-z-][_A-Za-z0-9-]*/);
|
||||
var k = $re(/^[_A-Za-z-][_A-Za-z0-9-]*/);
|
||||
if (k) {
|
||||
return tree.Color.fromKeyword(k) || new(tree.Keyword)(k);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user