Skip to content

Commit d9745d9

Browse files
committed
Add light-dark to color functions
1 parent 325e0ea commit d9745d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vscode-css/grammars/css.cson

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -841,7 +841,7 @@
841841
}
842842
# Colors
843843
{
844-
'begin': '(?i)(?<![\\w-])(rgba?|rgb|hsla?|hsl|hwb|lab|oklab|lch|oklch|color)(\\()'
844+
'begin': '(?i)(?<![\\w-])(rgba?|rgb|hsla?|hsl|hwb|lab|oklab|lch|oklch|color|light-dark)(\\()'
845845
'beginCaptures':
846846
'1':
847847
'name': 'support.function.misc.css'

0 commit comments

Comments
 (0)