Skip to content

Commit 0f57e15

Browse files
committed
Add light-dark() function syntax highlighting
1 parent 39dbc06 commit 0f57e15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

syntaxes/css.tmLanguage.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1073,7 +1073,7 @@
10731073
]
10741074
},
10751075
{
1076-
"begin": "(?i)(?<![\\w-])(rgba?|rgb|hsla?|hsl|hwb|lab|oklab|lch|oklch|color)(\\()",
1076+
"begin": "(?i)(?<![\\w-])(rgba?|rgb|hsla?|hsl|hwb|lab|oklab|lch|oklch|color|light-dark)(\\()",
10771077
"beginCaptures": {
10781078
"1": {
10791079
"name": "support.function.misc.css"

0 commit comments

Comments
 (0)