Skip to content

Commit 3690006

Browse files
committed
Follow changes in WD-css-fonts-4-20180920
See also: https://www.w3.org/TR/2018/WD-css-fonts-4-20180920/
1 parent 98cfdbf commit 3690006

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

after/syntax/css/fonts-4.vim

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,11 @@ syn match cssFontProp contained "\<font-variation-settings\>"
55
syn match cssFontProp contained "\<font-palette\>"
66
syn match cssFontProp contained "\<font-presentation\>"
77
syn match cssFontProp contained "\<base-palette\>"
8+
syn match cssFontProp contained "\<override-color\>"
89
syn match cssFontProp contained "\<font-variant-emoji\>"
910
syn keyword cssFontAttr contained emoji math fangsong infinity swap fallback optional light dark
1011
syn match cssFontAttr contained "\<system-ui\>"
1112
syn match cssFontAttr contained "\<historical-forms\>"
1213
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(stylistic\|styleset\|character-variant\|swash\|ornaments\|annotation\)\s*(" end=")" oneline keepend
14+
" syn match cssFontDescriptor "@font-feature-values\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl
1315
syn match cssFontDescriptor "@font-palette-values\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl

test/test.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -361,6 +361,7 @@
361361

362362
@font-palette-values Test {
363363
base-palette: 1;
364+
override-color: 1 rgb(43, 12, 9);
364365
}
365366

366367
.gcpm-3::footnote-call,

0 commit comments

Comments
 (0)