File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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'
868868 ' name' : ' meta.function.gradient.css'
869869 ' patterns' : [
870870 {
871- ' match' : ' (?i)(?<![\\ w-])(from|to|at)(?![\\ w-])'
871+ ' match' : ' (?i)(?<![\\ w-])(from|to|at|in|hue )(?![\\ w-])'
872872 ' name' : ' keyword.operator.gradient.css'
873873 }
874874 {
916916 {
917917 ' begin' : ''' (?xi) (?<![\\ w-])
918918 (annotation|attr|blur|brightness|character-variant|clamp|contrast|counters?
919- |cross-fade|drop-shadow|element|fit-content|format|grayscale|hue-rotate
919+ |cross-fade|drop-shadow|element|fit-content|format|grayscale|hue-rotate|color-mix
920920 |image-set|invert|local|max|min|minmax|opacity|ornaments|repeat|saturate|sepia
921921 |styleset|stylistic|swash|symbols)
922922 (\\ ()
You can’t perform that action at this time.
0 commit comments