diff --git a/after/syntax/css/color-4.vim b/after/syntax/css/color-4.vim index 3f6bc51..9414efc 100644 --- a/after/syntax/css/color-4.vim +++ b/after/syntax/css/color-4.vim @@ -1,4 +1,4 @@ -syn keyword cssFontAttr contained perceptual +syn keyword cssFontAttr contained perceptual accentcolor accentcolortext syn match cssFontAttr contained "\<\(relative\|absolute\)-colorimetric\>" syn region cssFunction contained matchgroup=cssFunctionName start="\<\(hwb\|lab\|lch\|color\|device-cmyk\=\)\s*(" end=")" oneline keepend syn match cssFontDescriptor "@color-profile\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl diff --git a/test/test.css b/test/test.css index 010b757..ae5f018 100644 --- a/test/test.css +++ b/test/test.css @@ -90,6 +90,8 @@ display: relative-colorimetric; display: absolute-colorimetric; display: perceptual; + display: accentcolor; + display: accentcolortext; } @color-profile swopc {