{ "comment": "SCSS Version 2 Grammar by Mario \"Kuroir\" Ricalde (http://kuroir.com)", "fileTypes": [ "scss", "css.scss" ], "foldingStartMarker": "\\{\\s*$", "foldingStopMarker": "^\\s*\\}", "keyEquivalent": "^~S", "name": "SCSS", "patterns": [ { "include": "#variable_setting" }, { "include": "#at_rule_include" }, { "include": "#at_rule_import" }, { "include": "#general" }, { "include": "#flow_control" }, { "include": "#rules" }, { "include": "#property_list" }, { "include": "#at_rule_mixin" }, { "include": "#at_rule_media" }, { "include": "#at_rule_function" }, { "include": "#at_rule_charset" }, { "include": "#at_rule_option" }, { "include": "#at_rule_namespace" }, { "include": "#at_rule_fontface" }, { "include": "#at_rule_page" }, { "include": "#at_rule_keyframes" } ], "repository": { "at_rule__": { "comment": "Note how all @rules are prefixed." }, "at_rule_charset": { "begin": "\\s*((@)charset\\b)\\s*", "captures": { "1": { "name": "keyword.control.at-rule.charset.scss" }, "2": { "name": "punctuation.definition.keyword.scss" } }, "comment": "Charset", "end": "\\s*((?=;|$))", "name": "meta.at-rule.charset.scss", "patterns": [ { "include": "#variable" }, { "include": "#string_single" }, { "include": "#string_double" } ] }, "at_rule_content": { "begin": "\\s*((@)content\\b)\\s*", "captures": { "1": { "name": "keyword.control.content.scss" } }, "end": "\\s*((?=;))", "name": "meta.content.scss", "patterns": [ { "include": "#variable" }, { "include": "#selectors" }, { "include": "#property_values" } ] }, "at_rule_each": { "begin": "\\s*((@)each\\b)\\s*", "captures": { "1": { "name": "keyword.control.each.scss" }, "2": { "name": "punctuation.definition.keyword.scss" } }, "end": "\\s*((?=\\}))", "name": "meta.at-rule.each.scss", "patterns": [ { "match": "\\b(in|\\,)\\b", "name": "keyword.control.operator" }, { "include": "#variable" }, { "include": "#property_values" }, { "include": "$self" } ] }, "at_rule_else": { "begin": "\\s*((@)else(\\s*(if)?))\\s*", "captures": { "1": { "name": "keyword.control.else.scss" }, "2": { "name": "punctuation.definition.keyword.scss" } }, "end": "\\s*(?=\\{)", "name": "meta.at-rule.else.scss", "patterns": [ { "include": "#logical_operators" }, { "include": "#variable" }, { "include": "#property_values" } ] }, "at_rule_extend": { "begin": "\\s*((@)extend\\b)\\s*", "captures": { "1": { "name": "keyword.control.at-rule.import.scss" }, "2": { "name": "punctuation.definition.keyword.scss" } }, "end": "\\s*(?=\\;)", "name": "meta.at-rule.import.scss", "patterns": [ { "include": "#variable" }, { "include": "#selectors" }, { "include": "#property_values" } ] }, "at_rule_fontface": { "patterns": [ { "begin": "^\\s*((@)font-face)\\s*(?=\\{)", "beginCaptures": { "1": { "name": "keyword.control.at-rule.fontface.scss" }, "2": { "name": "punctuation.definition.keyword.scss" } }, "end": "\\s*(?=\\{)", "name": "meta.at-rule.fontface.scss", "patterns": [ { "include": "#function_attributes" } ] } ] }, "at_rule_for": { "begin": "\\s*((@)for\\b)\\s*", "captures": { "1": { "name": "keyword.control.for.scss" }, "2": { "name": "punctuation.definition.keyword.scss" } }, "end": "\\s*(?=\\{)", "name": "meta.at-rule.for.scss", "patterns": [ { "match": "(\\=\\=|\\!\\=|\\<\\=|\\>\\=|\\<|\\>|from|through)", "name": "keyword.control.operator" }, { "include": "#variable" }, { "include": "#property_values" }, { "include": "$self" } ] }, "at_rule_function": { "patterns": [ { "begin": "\\s*((@)function\\b)\\s*", "captures": { "1": { "name": "keyword.control.at-rule.function.scss" }, "2": { "name": "punctuation.definition.keyword.scss" }, "3": { "name": "entity.name.function.scss" } }, "comment": "Function with Attributes", "end": "\\s*(?=\\{)", "name": "meta.at-rule.function.scss", "patterns": [ { "include": "#function_attributes" } ] }, { "captures": { "1": { "name": "keyword.control.at-rule.function.scss" }, "2": { "name": "punctuation.definition.keyword.scss" }, "3": { "name": "entity.name.function.scss" } }, "comment": "Simple Function", "match": "\\s*((@)function\\b)\\s*", "name": "meta.at-rule.function.scss" } ] }, "at_rule_if": { "begin": "\\s*((@)if\\b)\\s*", "captures": { "1": { "name": "keyword.control.if.scss" }, "2": { "name": "punctuation.definition.keyword.scss" } }, "end": "\\s*(?=\\{)", "name": "meta.at-rule.if.scss", "patterns": [ { "include": "#logical_operators" }, { "include": "#variable" }, { "include": "#property_values" } ] }, "at_rule_import": { "begin": "\\s*((@)import\\b)\\s*", "captures": { "1": { "name": "keyword.control.at-rule.import.scss" }, "2": { "name": "punctuation.definition.keyword.scss" } }, "end": "\\s*((?=;|\\}))", "name": "meta.at-rule.import.scss", "patterns": [ { "include": "#string-double" }, { "include": "#string-single" }, { "begin": "\\s*(url)?\\s*(?:\\(|\"|')\\s*", "beginCaptures": { "1": { "name": "support.function.url.css" }, "2": { "name": "punctuation.section.function.css" } }, "end": "\\s*(?:\"|'|\\))\\s*", "endCaptures": { "1": { "name": "punctuation.section.function.css" } }, "patterns": [ { "match": "[^'\") \\t]+", "name": "variable.parameter.url.css" }, { "include": "#string-single" }, { "include": "#string-double" } ] }, { "include": "#media-query-list" } ] }, "at_rule_include": { "patterns": [ { "begin": "\\s*((@)include\\b)\\s*", "captures": { "1": { "name": "keyword.control.at-rule.include.scss" }, "2": { "name": "punctuation.definition.keyword.scss" }, "3": { "name": "entity.name.function.scss" }, "4": { "name": "entity.name.text.scss" } }, "end": "\\s*[\\)|\\s\\;]", "name": "meta.at-rule.include.scss", "patterns": [ { "include": "#function_attributes" }, { "include": "#functions" } ] } ] }, "at_rule_keyframes": { "patterns": [ { "begin": "^\\s*((@)(\\-[\\w\\-]*\\-)?keyframes\\b)\\s*([\\w-]*)", "captures": { "1": { "name": "keyword.control.at-rule.keyframes.scss" }, "2": { "name": "punctuation.definition.keyword.scss" }, "3": { "name": "punctuation.definition.keyword.scss" }, "4": { "name": "entity.name.function.scss" } }, "comment": "Keyframes with Attributes", "end": "\\s*(?=\\{)", "name": "meta.at-rule.keyframes.scss", "patterns": [ { "include": "#function_attributes" } ] }, { "captures": { "1": { "name": "keyword.control.at-rule.keyframes.scss" }, "2": { "name": "punctuation.definition.keyword.scss" }, "3": { "name": "punctuation.definition.keyword.scss" }, "4": { "name": "entity.name.function.scss" } }, "comment": "Simple Keyframe", "match": "^\\s*((@)(\\-[\\w\\-]*\\-)?keyframes\\b)\\s*([\\w-]*)", "name": "meta.at-rule.keyframes.scss" } ] }, "at_rule_media": { "patterns": [ { "begin": "\\s*(?=^\\s*@media\\s*.*?\\{)", "captures": { "1": { "name": "keyword.control.at-rule.media.scss" }, "2": { "name": "punctuation.definition.keyword.scss" }, "3": { "name": "support.constant.media.scss" } }, "end": "\\s*(?=\\{)", "name": "meta.at-rule.media.scss", "patterns": [ { "include": "#function_attributes" }, { "include": "#functions" }, { "include": "#logical_operators" } ] } ] }, "at_rule_mixin": { "patterns": [ { "begin": "\\s*((@)mixin) ([\\w-]*)\\s*\\(", "captures": { "1": { "name": "keyword.control.at-rule.mixin.scss" }, "2": { "name": "punctuation.definition.keyword.scss" }, "3": { "name": "entity.name.function.scss" } }, "comment": "Mixin with Attributes", "end": "\\)", "name": "meta.at-rule.mixin.scss", "patterns": [ { "include": "#function_attributes" } ] }, { "captures": { "1": { "name": "keyword.control.at-rule.mixin.scss" }, "2": { "name": "punctuation.definition.keyword.scss" }, "3": { "name": "entity.name.function.scss" } }, "comment": "Simple Mixin", "match": "^\\s*((@)mixin) ([\\w-]{1,})", "name": "meta.at-rule.mixin.scss" } ] }, "at_rule_namespace": { "begin": "\\s*((@)namespace) ([\\w-]*)\\s*", "captures": { "1": { "name": "keyword.control.at-rule.import.scss" }, "2": { "name": "punctuation.definition.keyword.scss" }, "3": { "name": "entity.name.function.scss" } }, "comment": "Namespace", "end": "\\s*((;)|(?=\\}))$", "name": "meta.at-rule.namespace.scss", "patterns": [ { "include": "#variable" }, { "include": "#string_single" }, { "include": "#string_double" } ] }, "at_rule_option": { "captures": { "1": { "name": "keyword.control.at-rule.charset.scss" }, "2": { "name": "punctuation.definition.keyword.scss" } }, "comment": "Option", "match": "^\\s*((@)option\\b)\\s*", "name": "meta.at-rule.option.scss" }, "at_rule_page": { "patterns": [ { "begin": "^\\s*((@)page) ([\\w-]*)", "captures": { "1": { "name": "keyword.control.at-rule.fontface.scss" }, "2": { "name": "punctuation.definition.keyword.scss" }, "3": { "name": "entity.name.function.scss" } }, "comment": "Page with Attributes", "end": "", "name": "meta.at-rule.fontface.scss", "patterns": [ { "include": "#function_attributes" } ] }, { "captures": { "1": { "name": "keyword.control.at-rule.mixin.scss" }, "2": { "name": "punctuation.definition.keyword.scss" }, "3": { "name": "entity.name.function.scss" } }, "comment": "Simple Page", "match": "^\\s*((@)page) ([\\w-]{1,})", "name": "meta.at-rule.mixin.scss" } ] }, "at_rule_return": { "begin": "\\s*((@)(return)\\b)", "captures": { "1": { "name": "keyword.control.return.scss" }, "2": { "name": "punctuation.definition.keyword.scss" } }, "end": "\\s*((?=;))", "name": "meta.at-rule.return.scss", "patterns": [ { "include": "#variable" }, { "include": "#property_values" } ] }, "at_rule_warn": { "begin": "\\s*((@)(warn|debug)\\b)\\s*", "captures": { "1": { "name": "keyword.control.warn.scss" }, "2": { "name": "punctuation.definition.keyword.scss" } }, "end": "\\s*(?=\\;)", "name": "meta.at-rule.warn.scss", "patterns": [ { "include": "#variable" }, { "include": "#string_double" }, { "include": "#string_single" } ] }, "at_rule_while": { "begin": "\\s*((@)while\\b)\\s*", "captures": { "1": { "name": "keyword.control.while.scss" }, "2": { "name": "punctuation.definition.keyword.scss" } }, "end": "\\s*(?=\\})", "name": "meta.at-rule.while.scss", "patterns": [ { "include": "#logical_operators" }, { "include": "#variable" }, { "include": "#property_values" }, { "include": "$self" } ] }, "comment_block": { "begin": "\\s*/\\*\\s*", "captures": { "0": { "name": "punctuation.whitespace.comment.trailing.scss" } }, "comment": "Revamped Comment block.", "end": "(\\*/)\\s*", "name": "comment.block.scss" }, "comment_line": { "begin": "(\\s*)//", "comment": "Revamped", "end": "$(\\s*)", "name": "comment.line.scss" }, "constant_color": { "comment": "http://www.w3.org/TR/CSS21/syndata.html#value-def-color", "match": "\\b(aqua|black|blue|fuchsia|gray|green|lime|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow)\\b", "name": "support.constant.color.w3c-standard-color-name.scss" }, "constant_default": { "match": "\\!default", "name": "keyword.other.default.scss" }, "constant_deprecated_color": { "comment": "These colours are mostly recognised but will not validate. ref: http://www.w3schools.com/css/css_colornames.asp", "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", "name": "invalid.deprecated.color.w3c-non-standard-color-name.scss" }, "constant_font": { "match": "(\\b(?i:arial|century|comic|courier|garamond|georgia|helvetica|impact|lucida|symbol|system|tahoma|times|trebuchet|utopia|verdana|webdings|sans-serif|serif|monospace)\\b)", "name": "support.constant.font-name.scss" }, "constant_functions": { "begin": "([\\w-]+)\\s*(\\()", "beginCaptures": { "1": { "name": "support.function.misc.scss" }, "2": { "name": "punctuation.section.function.scss" } }, "end": "(\\))", "endCaptures": { "1": { "name": "punctuation.section.function.scss" } }, "patterns": [ { "include": "#parameters" } ] }, "constant_hex": { "captures": { "1": { "name": "punctuation.definition.constant.scss" } }, "match": "#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})\\b", "name": "constant.other.color.rgb-value.scss" }, "constant_important": { "match": "\\!important", "name": "keyword.other.important.scss" }, "constant_mathematical_symbols": { "match": "(\\b(\\+|\\-|\\*|/)\\b)", "name": "support.constant.mathematical-symbols.scss" }, "constant_number": { "match": "[\\+|\\-]?(\\s*)?([0-9]+(\\.[0-9]+)?|\\.[0-9]+)", "name": "constant.numeric.scss" }, "constant_optional": { "match": "\\!optional", "name": "keyword.other.optional.scss" }, "constant_property_value": { "match": "\\b(absolute|all-scroll|always|armenian|auto|baseline|below|bidi-override|block|bold|bolder|both|bottom|break-all|break-word|capitalize|center|char|circle|cjk-ideographic|col-resize|collapse|crosshair|dashed|decimal-leading-zero|decimal|default|disabled|disc|distribute-all-lines|distribute-letter|distribute-space|distribute|dotted|double|e-resize|ellipsis|fixed|georgian|groove|hand|hebrew|help|hidden|hiragana-iroha|hiragana|horizontal|ideograph-alpha|ideograph-numeric|ideograph-parenthesis|ideograph-space|inactive|inherit|inline-block|inline|inset|inside|inter-ideograph|inter-word|italic|justify|katakana-iroha|katakana|keep-all|left|lighter|line-edge|line-through|line|list-item|loose|lower-alpha|lower-greek|lower-latin|lower-roman|lowercase|lr-tb|ltr|medium|middle|move|n-resize|ne-resize|newspaper|no-drop|no-repeat|nw-resize|none|normal|not-allowed|nowrap|oblique|outset|outside|overline|pointer|progress|relative|repeat-x|repeat-y|repeat|right|ridge|row-resize|rtl|s-resize|scroll|se-resize|separate|small-caps|solid|square|static|strict|super|sw-resize|table-footer-group|table-header-group|tb-rl|text-bottom|text-top|text|thick|thin|top|transparent|underline|upper-alpha|upper-latin|upper-roman|uppercase|vertical-ideographic|vertical-text|visible|w-resize|wait|whitespace|zero|true|false|vertical|horizontal)\\b", "name": "support.constant.property-value.scss" }, "constant_rgb": { "match": "(\\b0*((1?[0-9]{1,2})|(2([0-4][0-9]|5[0-5])))\\s*,\\s*)(0*((1?[0-9]{1,2})|(2([0-4][0-9]|5[0-5])))\\s*,\\s*)(0*((1?[0-9]{1,2})|(2([0-4][0-9]|5[0-5])))\\b)", "name": "constant.other.color.rgb-value.scss" }, "constant_rgb_percentage": { "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.scss" }, "constant_sass_functions": { "begin": "(headings|stylesheet-url|rgba?|hsla?|ie-hex-str|red|green|blue|alpha|opacity|hue|saturation|lightness|prefixed|prefix|-moz|-svg|-css2|-pie|-webkit|-ms|-o|-khtml|font-(?:files|url)|grid-image|image-(?:width|height|url|color)|sprites?|sprite-(?:map|map-name|file|url|position)|inline-(?:font-files|image)|opposite-position|grad-point|grad-end-position|color-stops|color-stops-in-percentages|grad-color-stops|(?:radial|linear)-(?:gradient|svg-gradient)|opacify|fade-?in|transparentize|fade-?out|lighten|darken|saturate|desaturate|grayscale|adjust-(?:hue|lightness|saturation|color)|scale-(?:lightness|saturation|color)|change-color|spin|complement|invert|mix|-compass-(?:list|space-list|slice|nth|list-size)|blank|compact|nth|first-value-of|join|length|append|nest|append-selector|headers|enumerate|range|percentage|unitless|unit|if|type-of|comparable|elements-of-type|quote|unquote|escape|e|sin|cos|tan|abs|round|ceil|floor|pi|translate(?:X|Y))\\s*(\\()", "beginCaptures": { "1": { "name": "support.function.misc.scss" }, "2": { "name": "punctuation.section.function.scss" } }, "end": "(\\))", "endCaptures": { "1": { "name": "punctuation.section.function.scss" } }, "patterns": [ { "include": "#parameters" } ] }, "constant_unit": { "match": "(?<=[\\d])(ch|cm|deg|dpi|dpcm|dppx|em|ex|grad|in|mm|ms|pc|pt|px|rad|rem|turn|s|vh|vmin|vw)\\b|%", "name": "keyword.other.unit.scss" }, "flow_control": { "patterns": [ { "include": "#at_rule_if" }, { "include": "#at_rule_else" }, { "include": "#at_rule_warn" }, { "include": "#at_rule_for" }, { "include": "#at_rule_while" }, { "include": "#at_rule_each" }, { "include": "#at_rule_return" } ] }, "function_attributes": { "patterns": [ { "match": ":", "name": "punctuation.definition" }, { "include": "#general" }, { "include": "#property_values" }, { "comment": "We even have error highlighting <3", "match": "[=\\{\\}\\?\\;\\@]", "name": "invalid.illegal.character_not_allowed_here.scss" } ] }, "functions": { "patterns": [ { "begin": "([\\w-]{1,})(\\()\\s*", "beginCaptures": { "1": { "name": "support.function.misc.scss" }, "2": { "name": "punctuation.section.function.scss" } }, "end": "(\\))", "endCaptures": { "1": { "name": "punctuation.section.function.scss" } }, "patterns": [ { "include": "#parameters" } ] }, { "match": "([\\w-]{1,})", "name": "support.function.misc.scss" } ] }, "general": { "comment": "Stuff that should be everywhere", "patterns": [ { "include": "#variable" }, { "include": "#comment_block" }, { "include": "#comment_line" } ] }, "interpolation": { "begin": "#\\{", "end": "\\}([A-Za-z/-]*)?", "name": "variable.other.interpolation.scss", "patterns": [ { "include": "#property_values" }, { "include": "#variable" } ] }, "logical_operators": { "match": "\\s(\\=\\=|\\!\\=|\\<\\=|\\>\\=|\\<|\\>|not|or|and)\\s", "name": "keyword.control.operator" }, "media_attributes": { "patterns": [ { "match": ":", "name": "punctuation.definition" }, { "include": "#general" }, { "include": "#property_name" }, { "include": "#property_values" }, { "comment": "We even have error highlighting <3", "match": "[=\\{\\}\\?\\@]", "name": "invalid.illegal.character_not_allowed_here.scss" } ] }, "parameters": { "patterns": [ { "include": "#variable" }, { "include": "#property_values" }, { "include": "#comment_line" }, { "include": "#comment_block" }, { "match": "[^'\",) \\t]+", "name": "variable.parameter.url.scss" }, { "match": ",", "name": "punctuation.separator.parameters.scss" } ] }, "properties": { "patterns": [ { "begin": "(?(['\"])(?:[^\\\\]|\\\\.)*?(\\6)))))?\\s*(\\])", "name": "meta.attribute-selector.scss" }, "selector_class": { "captures": { "1": { "name": "punctuation.definition.entity.css" } }, "match": "(\\.)[a-zA-Z0-9_-]+", "name": "entity.other.attribute-name.class.css" }, "selector_entities": { "match": "\\b(a|abbr|acronym|address|area|article|aside|applet|audio|b|base|bdo|big|blockquote|body|br|button|canvas|caption|center|cite|code|col|colgroup|command|datalist|dd|del|details|dfn|div|dl|dt|em|embed|fieldset|figcaption|figure|footer|form|(h[1-6])|head|header|hgroup|hr|html|i|iframe|img|input|ins|keygen|kbd|label|legend|li|link|main|map|mark|menu|meta|meter|nav|noscript|object|ol|optgroup|option|output|p|param|picture|pre|progress|q|rp|rt|ruby|s|samp|script|section|select|small|source|span|strike|strong|style|sub|summary|sup|svg|table|tbody|td|textarea|tfoot|th|thead|time|title|tr|tt|u|ul|var|video)\\b", "name": "entity.name.tag.scss" }, "selector_id": { "captures": { "1": { "name": "punctuation.definition.entity.css" } }, "match": "(#)[a-zA-Z][a-zA-Z0-9_-]*", "name": "entity.other.attribute-name.id.css" }, "selector_placeholder": { "captures": { "1": { "name": "punctuation.definition.entity.scss" } }, "match": "(\\%)[a-zA-Z0-9_-]+", "name": "entity.other.attribute-name.placeholder.scss" }, "selector_pseudo_class": { "captures": { "1": { "name": "punctuation.definition.entity.css" } }, "match": "(:+)\\b(link|visited|hover|active|focus|target|lang|disabled|enabled|checked|indeterminate|root|nth-child|nth-last-child|nth-of-type|nth-last-of-type|first-child|last-child|first-of-type|last-of-type|only-child|only-of-type|empty|not|valid|invalid)([\\(\\)\\+0-9A-Za-z]*)?", "name": "entity.other.attribute-name.pseudo-class.css" }, "selector_pseudo_element": { "captures": { "1": { "name": "punctuation.definition.entity.css" } }, "match": "(:+)(-(webkit|moz)-)?\\b(after|before|first-letter|first-line|selection|any-link|local-link|input-placeholder|focus-inner|matches|nth-match|column|nth-column)\\b", "name": "entity.other.attribute-name.pseudo-element.css" }, "selectors": { "comment": "Stuff for Selectors.", "patterns": [ { "include": "#selector_entities" }, { "include": "#selector_class" }, { "include": "#selector_ampersand_class" }, { "include": "#selector_id" }, { "include": "#selector_pseudo_class" }, { "include": "#tag_wildcard" }, { "include": "#tag_parent_reference" }, { "include": "#selector_pseudo_element" }, { "include": "#selector_attribute" }, { "include": "#selector_placeholder" } ] }, "string_double": { "begin": "\"", "beginCaptures": { "0": { "name": "punctuation.definition.string.begin.scss" } }, "end": "\"", "endCaptures": { "0": { "name": "punctuation.definition.string.end.scss" } }, "name": "string.quoted.double.scss", "patterns": [ { "match": "\\\\.", "name": "constant.character.escape.scss" }, { "include": "#interpolation" } ] }, "string_single": { "begin": "'", "beginCaptures": { "0": { "name": "punctuation.definition.string.begin.scss" } }, "end": "'", "endCaptures": { "0": { "name": "punctuation.definition.string.end.scss" } }, "name": "string.quoted.single.scss", "patterns": [ { "match": "\\\\.", "name": "constant.character.escape.scss" } ] }, "tag_parent_reference": { "match": "\\&", "name": "entity.name.tag.reference.scss" }, "tag_wildcard": { "match": "\\*", "name": "entity.name.tag.wildcard.scss" }, "variable": { "patterns": [ { "include": "#variables" }, { "include": "#interpolation" } ] }, "variable_setting": { "begin": "\\s*(\\$[A-Za-z0-9_-]+\\b)\\s*(\\:)\\s*", "captures": { "1": { "name": "variable.other.scss" }, "2": { "name": "punctuation.separator.key-value.scss" } }, "end": "\\s*(?=\\;)", "name": "meta.set.variable", "patterns": [ { "include": "#property_values" }, { "include": "#variable" } ] }, "variables": { "captures": { "1": { "name": "variable.other.scss" } }, "match": "\\s*(\\$[A-Za-z0-9_-]+\\b)\\s*" } }, "scopeName": "source.scss", "uuid": "3D9ADE5E-ADC5-460F-97B3-B61EF5A18273" }