Update color-4.vim and color-5.vim

https://www.w3.org/TR/2022/CRD-css-color-4-20221101/
This commit is contained in:
Kyo Nagashima
2022-11-03 07:32:28 +09:00
parent 803765eb47
commit 5dc940911d
3 changed files with 17 additions and 12 deletions

View File

@@ -1 +1,4 @@
syn region cssFunction contained matchgroup=cssFunctionName start="\<color-mix\s*(" end=")" contains=cssCustomProp,cssFunction,cssColor,cssFunctionComma oneline
syn keyword cssFontProp contained components
syn keyword cssFontAttr contained relative-colorimetric absolute-colorimetric perceptual
syn region cssFunction contained matchgroup=cssFunctionName start="\<color-mix\|device-cmyk\s*(" end=")" contains=cssCustomProp,cssFunction,cssColor,cssFunctionComma oneline
syn match cssFontDescriptor "@color-profile\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl