Skip to content

Commit 0c3a7a2

Browse files
author
Adam Argyle
committed
adds hsl, rgb, oklab, oklch, and color functions
1 parent 103382a commit 0c3a7a2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

grammars/css.cson

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -828,7 +828,7 @@
828828
}
829829
# Colours
830830
{
831-
'begin': '(?i)(?<![\\w-])(rgba?|hsla?|hwb|lab|lch)(\\()'
831+
'begin': '(?i)(?<![\\w-])(rgba?|rgb|hsla?|hsl|hwb|lab|oklab|lch|oklch|color)(\\()'
832832
'beginCaptures':
833833
'1':
834834
'name': 'support.function.misc.css'

0 commit comments

Comments
 (0)