{ "name": "SCSS", "scopeName": "source.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__": {}, "at_rule_charset": { "name": "meta.at-rule.charset.scss", "begin": "\\s*((@)charset\\b)\\s*", "end": "\\s*((?=;|$))", "patterns": [ { "include": "#variable" }, { "include": "#string_single" }, { "include": "#string_double" } ], "captures": { "1": { "name": "keyword.control.at-rule.charset.scss" }, "2": { "name": "punctuation.definition.keyword.scss" } } }, "at_rule_content": { "name": "meta.content.scss", "begin": "\\s*((@)content\\b)\\s*", "end": "\\s*((?=;))", "patterns": [ { "include": "#variable" }, { "include": "#selectors" }, { "include": "#property_values" } ], "captures": { "1": { "name": "keyword.control.content.scss" } } }, "at_rule_each": { "name": "meta.at-rule.each.scss", "begin": "\\s*((@)each\\b)\\s*", "end": "\\s*((?=\\}))", "patterns": [ { "name": "keyword.control.operator", "match": "\\b(in|\\,)\\b" }, { "include": "#variable" }, { "include": "#property_values" }, { "include": "$self" } ], "captures": { "1": { "name": "keyword.control.each.scss" }, "2": { "name": "punctuation.definition.keyword.scss" } } }, "at_rule_else": { "name": "meta.at-rule.else.scss", "begin": "\\s*((@)else(\\s*(if)?))\\s*", "end": "\\s*(?=\\{)", "patterns": [ { "include": "#logical_operators" }, { "include": "#variable" }, { "include": "#property_values" } ], "captures": { "1": { "name": "keyword.control.else.scss" }, "2": { "name": "punctuation.definition.keyword.scss" } } }, "at_rule_extend": { "name": "meta.at-rule.import.scss", "begin": "\\s*((@)extend\\b)\\s*", "end": "\\s*(?=\\;)", "patterns": [ { "include": "#variable" }, { "include": "#selectors" }, { "include": "#property_values" } ], "captures": { "1": { "name": "keyword.control.at-rule.import.scss" }, "2": { "name": "punctuation.definition.keyword.scss" } } }, "at_rule_fontface": { "patterns": [ { "name": "meta.at-rule.fontface.scss", "begin": "^\\s*((@)font-face)\\s*(?=\\{)", "end": "\\s*(?=\\{)", "patterns": [ { "include": "#function_attributes" } ], "beginCaptures": { "1": { "name": "keyword.control.at-rule.fontface.scss" }, "2": { "name": "punctuation.definition.keyword.scss" } } } ] }, "at_rule_for": { "name": "meta.at-rule.for.scss", "begin": "\\s*((@)for\\b)\\s*", "end": "\\s*(?=\\{)", "patterns": [ { "name": "keyword.control.operator", "match": "(\\=\\=|\\!\\=|\\\u003c\\=|\\\u003e\\=|\\\u003c|\\\u003e|from|through)" }, { "include": "#variable" }, { "include": "#property_values" }, { "include": "$self" } ], "captures": { "1": { "name": "keyword.control.for.scss" }, "2": { "name": "punctuation.definition.keyword.scss" } } }, "at_rule_function": { "patterns": [ { "name": "meta.at-rule.function.scss", "begin": "\\s*((@)function\\b)\\s*", "end": "\\s*(?=\\{)", "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" } } }, { "name": "meta.at-rule.function.scss", "match": "\\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" } } } ] }, "at_rule_if": { "name": "meta.at-rule.if.scss", "begin": "\\s*((@)if\\b)\\s*", "end": "\\s*(?=\\{)", "patterns": [ { "include": "#logical_operators" }, { "include": "#variable" }, { "include": "#property_values" } ], "captures": { "1": { "name": "keyword.control.if.scss" }, "2": { "name": "punctuation.definition.keyword.scss" } } }, "at_rule_import": { "name": "meta.at-rule.import.scss", "begin": "\\s*((@)import\\b)\\s*", "end": "\\s*((?=;|\\}))", "patterns": [ { "include": "#string-double" }, { "include": "#string-single" }, { "begin": "\\s*(url)?\\s*(?:\\(|\"|')\\s*", "end": "\\s*(?:\"|'|\\))\\s*", "patterns": [ { "name": "variable.parameter.url.css", "match": "[^'\") \\t]+" }, { "include": "#string-single" }, { "include": "#string-double" } ], "beginCaptures": { "1": { "name": "support.function.url.css" }, "2": { "name": "punctuation.section.function.css" } }, "endCaptures": { "1": { "name": "punctuation.section.function.css" } } }, { "include": "#media-query-list" } ], "captures": { "1": { "name": "keyword.control.at-rule.import.scss" }, "2": { "name": "punctuation.definition.keyword.scss" } } }, "at_rule_include": { "patterns": [ { "name": "meta.at-rule.include.scss", "begin": "\\s*((@)include\\b)\\s*", "end": "\\s*[\\)|\\s\\;]", "patterns": [ { "include": "#function_attributes" }, { "include": "#functions" } ], "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" } } } ] }, "at_rule_keyframes": { "patterns": [ { "name": "meta.at-rule.keyframes.scss", "begin": "^\\s*((@)(\\-[\\w\\-]*\\-)?keyframes\\b)\\s*([\\w-]*)", "end": "\\s*(?=\\{)", "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" } } }, { "name": "meta.at-rule.keyframes.scss", "match": "^\\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" } } } ] }, "at_rule_media": { "patterns": [ { "name": "meta.at-rule.media.scss", "begin": "\\s*(?=^\\s*@media\\s*.*?\\{)", "end": "\\s*(?=\\{)", "patterns": [ { "include": "#function_attributes" }, { "include": "#functions" }, { "include": "#logical_operators" } ], "captures": { "1": { "name": "keyword.control.at-rule.media.scss" }, "2": { "name": "punctuation.definition.keyword.scss" }, "3": { "name": "support.constant.media.scss" } } } ] }, "at_rule_mixin": { "patterns": [ { "name": "meta.at-rule.mixin.scss", "begin": "\\s*((@)mixin) ([\\w-]*)\\s*\\(", "end": "\\)", "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" } } }, { "name": "meta.at-rule.mixin.scss", "match": "^\\s*((@)mixin) ([\\w-]{1,})", "captures": { "1": { "name": "keyword.control.at-rule.mixin.scss" }, "2": { "name": "punctuation.definition.keyword.scss" }, "3": { "name": "entity.name.function.scss" } } } ] }, "at_rule_namespace": { "name": "meta.at-rule.namespace.scss", "begin": "\\s*((@)namespace) ([\\w-]*)\\s*", "end": "\\s*((;)|(?=\\}))$", "patterns": [ { "include": "#variable" }, { "include": "#string_single" }, { "include": "#string_double" } ], "captures": { "1": { "name": "keyword.control.at-rule.import.scss" }, "2": { "name": "punctuation.definition.keyword.scss" }, "3": { "name": "entity.name.function.scss" } } }, "at_rule_option": { "name": "meta.at-rule.option.scss", "match": "^\\s*((@)option\\b)\\s*", "captures": { "1": { "name": "keyword.control.at-rule.charset.scss" }, "2": { "name": "punctuation.definition.keyword.scss" } } }, "at_rule_page": { "patterns": [ { "name": "meta.at-rule.fontface.scss", "begin": "^\\s*((@)page) ([\\w-]*)", "patterns": [ { "include": "#function_attributes" } ], "captures": { "1": { "name": "keyword.control.at-rule.fontface.scss" }, "2": { "name": "punctuation.definition.keyword.scss" }, "3": { "name": "entity.name.function.scss" } } }, { "name": "meta.at-rule.mixin.scss", "match": "^\\s*((@)page) ([\\w-]{1,})", "captures": { "1": { "name": "keyword.control.at-rule.mixin.scss" }, "2": { "name": "punctuation.definition.keyword.scss" }, "3": { "name": "entity.name.function.scss" } } } ] }, "at_rule_return": { "name": "meta.at-rule.return.scss", "begin": "\\s*((@)(return)\\b)", "end": "\\s*((?=;))", "patterns": [ { "include": "#variable" }, { "include": "#property_values" } ], "captures": { "1": { "name": "keyword.control.return.scss" }, "2": { "name": "punctuation.definition.keyword.scss" } } }, "at_rule_warn": { "name": "meta.at-rule.warn.scss", "begin": "\\s*((@)(warn|debug)\\b)\\s*", "end": "\\s*(?=\\;)", "patterns": [ { "include": "#variable" }, { "include": "#string_double" }, { "include": "#string_single" } ], "captures": { "1": { "name": "keyword.control.warn.scss" }, "2": { "name": "punctuation.definition.keyword.scss" } } }, "at_rule_while": { "name": "meta.at-rule.while.scss", "begin": "\\s*((@)while\\b)\\s*", "end": "\\s*(?=\\})", "patterns": [ { "include": "#logical_operators" }, { "include": "#variable" }, { "include": "#property_values" }, { "include": "$self" } ], "captures": { "1": { "name": "keyword.control.while.scss" }, "2": { "name": "punctuation.definition.keyword.scss" } } }, "comment_block": { "name": "comment.block.scss", "begin": "\\s*/\\*\\s*", "end": "(\\*/)\\s*", "captures": { "0": { "name": "punctuation.whitespace.comment.trailing.scss" } } }, "comment_line": { "name": "comment.line.scss", "begin": "(\\s*)//", "end": "$(\\s*)" }, "constant_color": { "name": "support.constant.color.w3c-standard-color-name.scss", "match": "\\b(aqua|black|blue|fuchsia|gray|green|lime|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow)\\b" }, "constant_default": { "name": "keyword.other.default.scss", "match": "\\!default" }, "constant_deprecated_color": { "name": "invalid.deprecated.color.w3c-non-standard-color-name.scss", "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" }, "constant_font": { "name": "support.constant.font-name.scss", "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)" }, "constant_functions": { "begin": "([\\w-]+)\\s*(\\()", "end": "(\\))", "patterns": [ { "include": "#parameters" } ], "beginCaptures": { "1": { "name": "support.function.misc.scss" }, "2": { "name": "punctuation.section.function.scss" } }, "endCaptures": { "1": { "name": "punctuation.section.function.scss" } } }, "constant_hex": { "name": "constant.other.color.rgb-value.scss", "match": "#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})\\b", "captures": { "1": { "name": "punctuation.definition.constant.scss" } } }, "constant_important": { "name": "keyword.other.important.scss", "match": "\\!important" }, "constant_mathematical_symbols": { "name": "support.constant.mathematical-symbols.scss", "match": "(\\b(\\+|\\-|\\*|/)\\b)" }, "constant_number": { "name": "constant.numeric.scss", "match": "[\\+|\\-]?(\\s*)?([0-9]+(\\.[0-9]+)?|\\.[0-9]+)" }, "constant_optional": { "name": "keyword.other.optional.scss", "match": "\\!optional" }, "constant_property_value": { "name": "support.constant.property-value.scss", "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" }, "constant_rgb": { "name": "constant.other.color.rgb-value.scss", "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)" }, "constant_rgb_percentage": { "name": "constant.other.color.rgb-percentage.scss", "match": "\\b([0-9]{1,2}|100)\\s*%,\\s*([0-9]{1,2}|100)\\s*%,\\s*([0-9]{1,2}|100)\\s*%" }, "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*(\\()", "end": "(\\))", "patterns": [ { "include": "#parameters" } ], "beginCaptures": { "1": { "name": "support.function.misc.scss" }, "2": { "name": "punctuation.section.function.scss" } }, "endCaptures": { "1": { "name": "punctuation.section.function.scss" } } }, "constant_unit": { "name": "keyword.other.unit.scss", "match": "(?\u003c=[\\d])(ch|cm|deg|dpi|dpcm|dppx|em|ex|grad|in|mm|ms|pc|pt|px|rad|rem|turn|s|vh|vmin|vw)\\b|%" }, "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": [ { "name": "punctuation.definition", "match": ":" }, { "include": "#general" }, { "include": "#property_values" }, { "name": "invalid.illegal.character_not_allowed_here.scss", "match": "[=\\{\\}\\?\\;\\@]" } ] }, "functions": { "patterns": [ { "begin": "([\\w-]{1,})(\\()\\s*", "end": "(\\))", "patterns": [ { "include": "#parameters" } ], "beginCaptures": { "1": { "name": "support.function.misc.scss" }, "2": { "name": "punctuation.section.function.scss" } }, "endCaptures": { "1": { "name": "punctuation.section.function.scss" } } }, { "name": "support.function.misc.scss", "match": "([\\w-]{1,})" } ] }, "general": { "patterns": [ { "include": "#variable" }, { "include": "#comment_block" }, { "include": "#comment_line" } ] }, "interpolation": { "name": "variable.other.interpolation.scss", "begin": "#\\{", "end": "\\}([A-Za-z/-]*)?", "patterns": [ { "include": "#property_values" }, { "include": "#variable" } ] }, "logical_operators": { "name": "keyword.control.operator", "match": "\\s(\\=\\=|\\!\\=|\\\u003c\\=|\\\u003e\\=|\\\u003c|\\\u003e|not|or|and)\\s" }, "media_attributes": { "patterns": [ { "name": "punctuation.definition", "match": ":" }, { "include": "#general" }, { "include": "#property_name" }, { "include": "#property_values" }, { "name": "invalid.illegal.character_not_allowed_here.scss", "match": "[=\\{\\}\\?\\@]" } ] }, "parameters": { "patterns": [ { "include": "#variable" }, { "include": "#property_values" }, { "include": "#comment_line" }, { "include": "#comment_block" }, { "name": "variable.parameter.url.scss", "match": "[^'\",) \\t]+" }, { "name": "punctuation.separator.parameters.scss", "match": "," } ] }, "properties": { "patterns": [ { "name": "meta.property-name.scss", "begin": "(?\u003c![-a-z])(?=[-a-z])", "end": "$|(?![-a-z])", "patterns": [ { "include": "#property_names" }, { "include": "#at_rule_include" } ] }, { "name": "meta.property-value.scss", "begin": "(:)\\s*(?!(\\s*{))", "end": "\\s*(;|(?=\\}))", "patterns": [ { "include": "#general" }, { "include": "#property_values" } ], "beginCaptures": { "1": { "name": "punctuation.separator.key-value.scss" } }, "endCaptures": { "1": { "name": "punctuation.terminator.rule.scss" } } } ] }, "property_list": { "name": "meta.property-list.scss", "begin": "\\{", "end": "\\}", "patterns": [ { "include": "#flow_control" }, { "include": "#rules" }, { "include": "#properties" }, { "include": "$self" } ], "captures": { "0": { "name": "punctuation.section.property-list.scss" } }, "beginCaptures": { "0": { "name": "punctuation.section.property-list.begin.scss" } }, "endCaptures": { "0": { "name": "punctuation.section.property-list.end.scss" } } }, "property_name": { "name": "support.type.property-name.scss", "match": "\\b(-webkit-[A-Za-z]+|-moz-[A-Za-z]+|-o-[A-Za-z]+|-ms-[A-Za-z]+|-khtml-[A-Za-z]+|[0-9]{1,3}\\%|zoom|z-index|y|x|wrap|word-wrap|word-spacing|word-break|word|will-change|width|widows|white-space-collapse|white-space|white|weight|volume|voice-volume|voice-stress|voice-rate|voice-pitch-range|voice-pitch|voice-family|voice-duration|voice-balance|voice|visibility|vertical-align|variant|user-select|up|unicode-bidi|unicode|trim|transition-timing-function|transition-property|transition-duration|transition-delay|transition|transform|top-width|top-style|top-right-radius|top-left-radius|top-color|top|timing-function|text-wrap|text-transform|text-shadow|text-replace|text-outline|text-justify|text-indent|text-height|text-emphasis|text-decoration|text-align-last|text-align|text|target-position|target-new|target-name|target|table-layout|tab-size|style-type|style-position|style-image|style|string-set|stretch|stress|stacking-strategy|stacking-shift|stacking-ruby|stacking|src|speed|speech-rate|speech|speak-punctuation|speak-numeral|speak-header|speak|span|spacing|space-collapse|space|sizing|size-adjust|size|shadow|respond-to|rule-width|rule-style|rule-color|rule|ruby-span|ruby-position|ruby-overhang|ruby-align|ruby|rows|rotation-point|rotation|role|right-width|right-style|right-color|right|richness|rest-before|rest-after|rest|resource|resolution|resize|reset|replace|repeat|rendering-intent|rate|radius|quotes|punctuation-trim|punctuation|property|profile|presentation-level|presentation|prespective|prespective-origin|position|pointer-events|point|play-state|play-during|play-count|pitch-range|pitch|phonemes|pause-before|pause-after|pause|page-policy|page-break-inside|page-break-before|page-break-after|page|padding-top|padding-right|padding-left|padding-bottom|padding|pack|overhang|overflow-y|overflow-x|overflow-style|overflow|outline-width|outline-style|outline-offset|outline-color|outline|orphans|origin|orientation|orient|ordinal-group|opacity|offset|numeral|new|nav-up|nav-right|nav-left|nav-index|nav-down|nav|name|move-to|model|min-width|min-height|min|max-width|max-height|max|marquee-style|marquee-speed|marquee-play-count|marquee-direction|marquee|marks|mark-before|mark-after|mark|margin-top|margin-right|margin-left|margin-bottom|margin|mask-image|list-style-type|list-style-position|list-style-image|list-style|list|lines|line-stacking-strategy|line-stacking-shift|line-stacking-ruby|line-stacking|line-height|line|level|letter-spacing|length|left-width|left-style|left-color|left|label|justify|iteration-count|inline-box-align|initial-value|initial-size|initial-before-align|initial-before-adjust|initial-after-align|initial-after-adjust|index|indent|increment|image-resolution|image-orientation|image|icon|hyphens|hyphenate-resource|hyphenate-lines|hyphenate-character|hyphenate-before|hyphenate-after|hyphenate|height|header|hanging-punctuation|grid-rows|grid-columns|grid|gap|font-weight|font-variant|font-style|font-stretch|font-size-adjust|font-size|font-feature-settings|font-family|font|float-offset|float|flex-group|flex|fit-position|fit|fill|filter|family|empty-cells|emphasis|elevation|duration|drop-initial-value|drop-initial-size|drop-initial-before-align|drop-initial-before-adjust|drop-initial-after-align|drop-initial-after-adjust|drop|down|dominant-baseline|display-role|display-model|display|direction|delay|decoration-break|decoration|cursor|cue-before|cue-after|cue|crop|counter-reset|counter-increment|counter|count|content|columns|column-width|column-span|column-rule-width|column-rule-style|column-rule-color|column-rule|column-gap|column-fill|column-count|column-break-before|column-break-after|column|color-profile|color|collapse|clip|clear|character|caption-side|break-inside|break-before|break-after|break|box-sizing|box-shadow|box-pack|box-orient|box-ordinal-group|box-lines|box-flex-group|box-flex|box-direction|box-decoration-break|box-align|box|bottom-width|bottom-style|bottom-right-radius|bottom-left-radius|bottom-color|bottom|border-width|border-top-width|border-top-style|border-top-right-radius|border-top-left-radius|border-top-color|border-top|border-style|border-spacing|border-right-width|border-right-style|border-right-color|border-right|border-radius|border-length|border-left-width|border-left-style|border-left-color|border-left|border-image|border-color|border-collapse|border-bottom-width|border-bottom-style|border-bottom-right-radius|border-bottom-left-radius|border-bottom-color|border-bottom|border|bookmark-target|bookmark-level|bookmark-label|bookmark|binding|bidi|before|baseline-shift|baseline|balance|background-size|background-repeat|background-position|background-origin|background-image|background-color|background-clip|background-break|background-attachment|background|azimuth|attachment|appearance|animation-timing-function|animation-play-state|animation-name|animation-iteration-count|animation-duration|animation-direction|animation-delay|animation|alignment-baseline|alignment-adjust|alignment|align-self|align-last|align-items|align|after|adjust)\\b" }, "property_name_error": { "name": "invalid.illegal.unknown-property-name.scss", "match": "(?\u003c![a-z-])(?!-(top|right|left|bottom|color|radius|last|inside|width|before|after|value|size|type|position|style|image|strategy|shift|align|adjust)\\b|-webkit-[A-Za-z]+\\b|-moz-[A-Za-z]+\\b|-o-[A-Za-z]+\\b|-ms-[A-Za-z]+\\b|-khtml-[A-Za-z]+\\b|z-index\\b|[0-9]{1,3}\\%\\b|zoom\\b|y\\b|x\\b|wrap\\b|word-wrap\\b|word-spacing\\b|word-break\\b|word\\b|will-change\\b|width\\b|widows\\b|white-space-collapse\\b|white-space\\b|white\\b|weight\\b|volume\\b|voice-volume\\b|voice-stress\\b|voice-rate\\b|voice-pitch-range\\b|voice-pitch\\b|voice-family\\b|voice-duration\\b|voice-balance\\b|voice\\b|visibility\\b|vertical-align\\b|variant\\b|user-select\\b|up\\b|unicode-bidi\\b|unicode\\b|u\\b|tt\\b|trim\\b|transition-timing-function\\b|transition-property\\b|transition-duration\\b|transition-delay\\b|transition\\b|transform\\b|top-width\\b|top-style\\b|top-right-radius\\b|top-left-radius\\b|top-color\\b|top\\b|timing-function\\b|text-wrap\\b|text-transform\\b|text-shadow\\b|text-replace\\b|text-outline\\b|text-justify\\b|text-indent\\b|text-height\\b|text-emphasis\\b|text-decoration\\b|text-align-last\\b|text-align\\b|text\\b|target-position\\b|target-new\\b|target-name\\b|target\\b|table-layout\\b|tab-size\\b|style-type\\b|style-position\\b|style-image\\b|style\\b|string-set\\b|strike\\b|stretch\\b|stress\\b|stacking-strategy\\b|stacking-shift\\b|stacking-ruby\\b|stacking\\b|src\\b|speed\\b|speech-rate\\b|speech\\b|speak-punctuation\\b|speak-numeral\\b|speak-header\\b|speak\\b|span\\b|spacing\\b|space-collapse\\b|space\\b|sizing\\b|size-adjust\\b|size\\b|shadow\\b|stroke\\b|stroke-width\\b|s\\b|respond-to\\b|rule-width\\b|rule-style\\b|rule-color\\b|rule\\b|ruby-span\\b|ruby-position\\b|ruby-overhang\\b|ruby-align\\b|ruby\\b|rows\\b|rotation-point\\b|rotation\\b|role\\b|right-width\\b|right-style\\b|right-color\\b|right\\b|richness\\b|rest-before\\b|rest-after\\b|rest\\b|resource\\b|resolution\\b|resize\\b|reset\\b|replace\\b|repeat\\b|rendering-intent\\b|rate\\b|radius\\b|quotes\\b|punctuation-trim\\b|punctuation\\b|property\\b|profile\\b|presentation-level\\b|presentation\\b|prespective\\b|prespective-origin\\b|position\\b|pointer-events\\b|point\\b|play-state\\b|play-during\\b|play-count\\b|pitch-range\\b|pitch\\b|phonemes\\b|pause-before\\b|pause-after\\b|pause\\b|page-policy\\b|page-break-inside\\b|page-break-before\\b|page-break-after\\b|page\\b|padding-top\\b|padding-right\\b|padding-left\\b|padding-bottom\\b|padding\\b|pack\\b|overhang\\b|overflow-y\\b|overflow-x\\b|overflow-style\\b|overflow\\b|outline-width\\b|outline-style\\b|outline-offset\\b|outline-color\\b|outline\\b|orphans\\b|origin\\b|orientation\\b|orient\\b|ordinal-group\\b|opacity\\b|offset\\b|numeral\\b|new\\b|nav-up\\b|nav-right\\b|nav-left\\b|nav-index\\b|nav-down\\b|nav\\b|name\\b|move-to\\b|model\\b|min-width\\b|min-height\\b|min\\b|max-width\\b|max-height\\b|max\\b|marquee-style\\b|marquee-speed\\b|marquee-play-count\\b|marquee-direction\\b|marquee\\b|marks\\b|mark-before\\b|mark-after\\b|mark\\b|margin-top\\b|margin-right\\b|margin-left\\b|margin-bottom\\b|margin\\b|mask-image\\b|list-style-type\\b|list-style-position\\b|list-style-image\\b|list-style\\b|list\\b|lines\\b|line-stacking-strategy\\b|line-stacking-shift\\b|line-stacking-ruby\\b|line-stacking\\b|line-height\\b|line\\b|level\\b|letter-spacing\\b|length\\b|left-width\\b|left-style\\b|left-color\\b|left\\b|label\\b|justify\\b|iteration-count\\b|inline-box-align\\b|initial-value\\b|initial-size\\b|initial-before-align\\b|initial-before-adjust\\b|initial-after-align\\b|initial-after-adjust\\b|index\\b|indent\\b|increment\\b|image-resolution\\b|image-orientation\\b|image\\b|icon\\b|hyphens\\b|hyphenate-resource\\b|hyphenate-lines\\b|hyphenate-character\\b|hyphenate-before\\b|hyphenate-after\\b|hyphenate\\b|height\\b|header\\b|hanging-punctuation\\b|grid-rows\\b|grid-columns\\b|grid\\b|gap\\b|font-weight\\b|font-variant\\b|font-style\\b|font-stretch\\b|font-size-adjust\\b|font-size\\b|font-feature-settings\\b|font-family\\b|font\\b|float-offset\\b|float\\b|flex-group\\b|flex\\b|fit-position\\b|fit\\b|fill\\b|filter\\b|family\\b|empty-cells\\b|emphasis\\b|elevation\\b|duration\\b|drop-initial-value\\b|drop-initial-size\\b|drop-initial-before-align\\b|drop-initial-before-adjust\\b|drop-initial-after-align\\b|drop-initial-after-adjust\\b|drop\\b|down\\b|dominant-baseline\\b|display-role\\b|display-model\\b|display\\b|direction\\b|delay\\b|decoration-break\\b|decoration\\b|cursor\\b|cue-before\\b|cue-after\\b|cue\\b|crop\\b|counter-reset\\b|counter-increment\\b|counter\\b|count\\b|content\\b|columns\\b|column-width\\b|column-span\\b|column-rule-width\\b|column-rule-style\\b|column-rule-color\\b|column-rule\\b|column-gap\\b|column-fill\\b|column-count\\b|column-break-before\\b|column-break-after\\b|column\\b|color-profile\\b|color\\b|collapse\\b|clip\\b|clear\\b|character\\b|center\\b|caption-side\\b|break-inside\\b|break-before\\b|break-after\\b|break\\b|box-sizing\\b|box-shadow\\b|box-pack\\b|box-orient\\b|box-ordinal-group\\b|box-lines\\b|box-flex-group\\b|box-flex\\b|box-direction\\b|box-decoration-break\\b|box-align\\b|box\\b|bottom-width\\b|bottom-style\\b|bottom-right-radius\\b|bottom-left-radius\\b|bottom-color\\b|bottom\\b|border-width\\b|border-top-width\\b|border-top-style\\b|border-top-right-radius\\b|border-top-left-radius\\b|border-top-color\\b|border-top\\b|border-style\\b|border-spacing\\b|border-right-width\\b|border-right-style\\b|border-right-color\\b|border-right\\b|border-radius\\b|border-length\\b|border-left-width\\b|border-left-style\\b|border-left-color\\b|border-left\\b|border-image\\b|border-color\\b|border-collapse\\b|border-bottom-width\\b|border-bottom-style\\b|border-bottom-right-radius\\b|border-bottom-left-radius\\b|border-bottom-color\\b|border-bottom\\b|border\\b|bookmark-target\\b|bookmark-level\\b|bookmark-label\\b|bookmark\\b|binding\\b|bidi\\b|big\\b|before\\b|baseline-shift\\b|baseline\\b|balance\\b|background-size\\b|background-repeat\\b|background-position\\b|background-origin\\b|background-image\\b|background-color\\b|background-clip\\b|background-break\\b|background-attachment\\b|background\\b|azimuth\\b|attachment\\b|applet\\b|appearance\\b|animation-timing-function\\b|animation-play-state\\b|animation-name\\b|animation-iteration-count\\b|animation-duration\\b|animation-direction\\b|animation-delay\\b|animation\\b|alignment-baseline\\b|alignment-adjust\\b|alignment\\b|align-self\\b|align-last\\b|align-items\\b|align\\b|after\\b|adjust\\b|acronym\\b)[a-z\\-\\_]+" }, "property_names": { "patterns": [ { "include": "#property_name" }, { "include": "#property_name_error" } ] }, "property_values": { "patterns": [ { "include": "#string_single" }, { "include": "#string_double" }, { "include": "#constant_functions" }, { "include": "#constant_sass_functions" }, { "include": "#constant_hex" }, { "include": "#constant_rgb" }, { "include": "#constant_rgb_percentage" }, { "include": "#constant_important" }, { "include": "#constant_default" }, { "include": "#constant_optional" }, { "include": "#constant_unit" }, { "include": "#constant_property_value" }, { "include": "#constant_number" }, { "include": "#constant_font" }, { "include": "#constant_color" }, { "include": "#constant_deprecated_color" }, { "include": "#constant_mathematical_symbols" } ] }, "rules": { "patterns": [ { "include": "#general" }, { "include": "#at_rule_extend" }, { "include": "#at_rule_content" }, { "include": "#at_rule_include" }, { "include": "#at_rule_media" }, { "include": "#selectors" } ] }, "selector_ampersand_class": { "name": "entity.other.attribute-name.class.css", "match": "(\\\u0026)[a-zA-Z0-9_-]+", "captures": { "1": { "name": "punctuation.definition.entity.css" } } }, "selector_attribute": { "name": "meta.attribute-selector.scss", "match": "(?i)(\\[)\\s*(-?[_a-z\\\\[[:^ascii:]]][_a-z0-9\\-\\\\[[:^ascii:]]]*)(?:\\s*([~|^$*]?=)\\s*(?:(-?[_a-z\\\\[[:^ascii:]]][_a-z0-9\\-\\\\[[:^ascii:]]]*)|((?\u003e(['\"])(?:[^\\\\]|\\\\.)*?(\\6)))))?\\s*(\\])", "captures": { "1": { "name": "punctuation.definition.entity.scss" }, "2": { "name": "entity.other.attribute-name.attribute.scss" }, "3": { "name": "punctuation.separator.operator.scss" }, "4": { "name": "string.unquoted.attribute-value.scss" }, "5": { "name": "string.quoted.double.attribute-value.scss" }, "6": { "name": "punctuation.definition.string.begin.scss" }, "7": { "name": "punctuation.definition.string.end.scss" } } }, "selector_class": { "name": "entity.other.attribute-name.class.css", "match": "(\\.)[a-zA-Z0-9_-]+", "captures": { "1": { "name": "punctuation.definition.entity.css" } } }, "selector_entities": { "name": "entity.name.tag.scss", "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" }, "selector_id": { "name": "entity.other.attribute-name.id.css", "match": "(#)[a-zA-Z][a-zA-Z0-9_-]*", "captures": { "1": { "name": "punctuation.definition.entity.css" } } }, "selector_placeholder": { "name": "entity.other.attribute-name.placeholder.scss", "match": "(\\%)[a-zA-Z0-9_-]+", "captures": { "1": { "name": "punctuation.definition.entity.scss" } } }, "selector_pseudo_class": { "name": "entity.other.attribute-name.pseudo-class.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]*)?", "captures": { "1": { "name": "punctuation.definition.entity.css" } } }, "selector_pseudo_element": { "name": "entity.other.attribute-name.pseudo-element.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", "captures": { "1": { "name": "punctuation.definition.entity.css" } } }, "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": { "name": "string.quoted.double.scss", "begin": "\"", "end": "\"", "patterns": [ { "name": "constant.character.escape.scss", "match": "\\\\." }, { "include": "#interpolation" } ], "beginCaptures": { "0": { "name": "punctuation.definition.string.begin.scss" } }, "endCaptures": { "0": { "name": "punctuation.definition.string.end.scss" } } }, "string_single": { "name": "string.quoted.single.scss", "begin": "'", "end": "'", "patterns": [ { "name": "constant.character.escape.scss", "match": "\\\\." } ], "beginCaptures": { "0": { "name": "punctuation.definition.string.begin.scss" } }, "endCaptures": { "0": { "name": "punctuation.definition.string.end.scss" } } }, "tag_parent_reference": { "name": "entity.name.tag.reference.scss", "match": "\\\u0026" }, "tag_wildcard": { "name": "entity.name.tag.wildcard.scss", "match": "\\*" }, "variable": { "patterns": [ { "include": "#variables" }, { "include": "#interpolation" } ] }, "variable_setting": { "name": "meta.set.variable", "begin": "\\s*(\\$[A-Za-z0-9_-]+\\b)\\s*(\\:)\\s*", "end": "\\s*(?=\\;)", "patterns": [ { "include": "#property_values" }, { "include": "#variable" } ], "captures": { "1": { "name": "variable.other.scss" }, "2": { "name": "punctuation.separator.key-value.scss" } } }, "variables": { "match": "\\s*(\\$[A-Za-z0-9_-]+\\b)\\s*", "captures": { "1": { "name": "variable.other.scss" } } } } }