{ "fileTypes" : [ "less", "css" ], "foldingStartMarker" : "\/\\*\\*(?!\\*)|\\{\\s*($|\/\\*(?!.*?\\*\/.*\\S))", "foldingStopMarker" : "(?(['\"])(?:[^\\\\]|\\\\.)*?(\\6)))))?\\s*(\\])", "captures" : { "7" : { "name" : "punctuation.definition.string.end.css" }, "3" : { "name" : "punctuation.separator.operator.css" }, "4" : { "name" : "string.unquoted.attribute-value.css" }, "5" : { "name" : "string.quoted.double.attribute-value.css" }, "1" : { "name" : "punctuation.definition.entity.css" }, "6" : { "name" : "punctuation.definition.string.begin.css" }, "2" : { "name" : "entity.other.attribute-name.attribute.css" } }, "name" : "meta.attribute-selector.css" } ], "name" : "meta.selector.css" }, "string-double" : { "end" : "\"", "begin" : "\"", "beginCaptures" : { "0" : { "name" : "punctuation.definition.string.begin.css" } }, "patterns" : [ { "match" : "\\\\.", "name" : "constant.character.escape.css" } ], "endCaptures" : { "0" : { "name" : "punctuation.definition.string.end.css" } }, "name" : "string.quoted.double.css" }, "string-single" : { "end" : "'", "begin" : "'", "beginCaptures" : { "0" : { "name" : "punctuation.definition.string.begin.css" } }, "patterns" : [ { "match" : "\\\\.", "name" : "constant.character.escape.css" } ], "endCaptures" : { "0" : { "name" : "punctuation.definition.string.end.css" } }, "name" : "string.quoted.single.css" }, "color-values" : { "patterns" : [ { "match" : "\\b(aqua|black|blue|fuchsia|gray|green|lime|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow)\\b", "comment" : "http:\/\/www.w3.org\/TR\/CSS21\/syndata.html#value-def-color", "name" : "support.constant.color.w3c-standard-color-name.css" }, { "match" : "\\b(aliceblue|antiquewhite|aquamarine|azure|beige|bisque|blanchedalmond|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|gainsboro|ghostwhite|gold|goldenrod|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|limegreen|linen|magenta|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|oldlace|olivedrab|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|thistle|tomato|turquoise|violet|wheat|whitesmoke|yellowgreen)\\b", "comment" : "These colours are mostly recognised but will not validate. ref: http:\/\/www.w3schools.com\/css\/css_colornames.asp", "name" : "support.constant.color.non-standard" }, { "end" : "(\\))", "begin" : "(hsla?|rgba?)\\s*(\\()", "beginCaptures" : { "1" : { "name" : "support.function.misc.css" }, "2" : { "name" : "punctuation.section.function.css" } }, "patterns" : [ { "match" : "(?x)\\b(0*((1?[0-9]{1,2})|(2([0-4][0-9]|5[0-5])))\\s*,\\s*){2}(0*((1?[0-9]{1,2})|(2([0-4][0-9]|5[0-5])))\\b)(\\s*,\\s*((0?\\.[0-9]+)|[0-1]))?", "name" : "constant.other.color.rgb-value.css" }, { "match" : "\\b([0-9]{1,2}|100)\\s*%,\\s*([0-9]{1,2}|100)\\s*%,\\s*([0-9]{1,2}|100)\\s*%", "name" : "constant.other.color.rgb-percentage.css" }, { "include" : "#numeric-values" } ], "endCaptures" : { "1" : { "name" : "punctuation.section.function.css" } } } ] }, "rule-list" : { "patterns" : [ { "include" : "#comment-block" }, { "include" : "#comment-line" }, { "include" : "#selector" }, { "include" : "#property-names" }, { "begin" : "(:)\\s*", "end" : "\\s*(;|(?=[{}]))", "beginCaptures" : { "1" : { "name" : "punctuation.separator.key-value.css" } }, "patterns" : [ { "include" : "#property-values" } ], "endCaptures" : { "1" : { "name" : "punctuation.terminator.rule.css" } }, "name" : "meta.property-value.css" } ], "name" : "meta.property-list.css" }, "comment-block" : { "begin" : "\/\\*", "end" : "\\*\/", "captures" : { "0" : { "name" : "punctuation.definition.comment.css" } }, "name" : "comment.block.css" }, "comment-line" : { "begin" : "\/\/", "end" : "$\\n?", "captures" : { "0" : { "name" : "punctuation.definition.comment.css" } }, "name" : "comment.line.double-slash.less" }, "less-variables" : { "patterns" : [ { "match" : "@[a-zA-Z0-9_-][\\w-]*", "name" : "variable.other.less" }, { "match" : "@{[a-zA-Z0-9_-][\\w-]*}", "name" : "variable.interpolation.less" }, { "begin" : "`", "end" : "`", "name" : "comment markup.raw" }, { "begin" : "(~)`", "end" : "`", "beginCaptures" : { "1" : { "name" : "keyword.operator.less" } }, "name" : "comment markup.raw" }, { "begin" : "(~)\"", "end" : "\"", "beginCaptures" : { "1" : { "name" : "keyword.operator.less" } }, "name" : "string.quoted.double.css comment markup.raw" }, { "begin" : "(~)'", "end" : "'", "beginCaptures" : { "1" : { "name" : "keyword.operator.less" } }, "name" : "string.quoted.single.css comment markup.raw" } ] }, "less-declarations" : { "patterns" : [ { "match" : "(?>@[a-zA-Z0-9_-][\\w-]*+)(?!:)", "name" : "variable.other.less" }, { "match" : "@[a-zA-Z0-9_-][\\w-]*", "name" : "variable.declaration.less" } ] }, "less-operators" : { "match" : "\/|!important|$|%|&|\\*|\\-\\-|\\-|\\+\\+|\\+|~|===|==|=|!=|!==|<=|>=|<<=|>>=|>>>=|<>|<|>|!|&&|\\|\\||\\?\\:|(?