Skip to content

Commit 3409476

Browse files
committed
1 parent 60da01e commit 3409476

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

after/syntax/css/color-4.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
syn keyword cssFontAttr contained perceptual
1+
syn keyword cssFontAttr contained perceptual accentcolor accentcolortext
22
syn match cssFontAttr contained "\<\(relative\|absolute\)-colorimetric\>"
33
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(hwb\|lab\|lch\|color\|device-cmyk\=\)\s*(" end=")" oneline keepend
44
syn match cssFontDescriptor "@color-profile\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl

test/test.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,8 @@
9090
display: relative-colorimetric;
9191
display: absolute-colorimetric;
9292
display: perceptual;
93+
display: accentcolor;
94+
display: accentcolortext;
9395
}
9496

9597
@color-profile swopc {

0 commit comments

Comments
 (0)