mirror of
https://github.com/hail2u/vim-css3-syntax.git
synced 2025-12-09 12:04:46 +08:00
Follow changes in WD-css-fonts-4-20180410
See also: http://www.w3.org/TR/2018/WD-css-fonts-4-20180410/
This commit is contained in:
@@ -6,6 +6,7 @@ syn match cssFontProp contained "\<font-palette\>"
|
|||||||
syn match cssFontProp contained "\<font-presentation\>"
|
syn match cssFontProp contained "\<font-presentation\>"
|
||||||
syn match cssFontProp contained "\<base-palette\>"
|
syn match cssFontProp contained "\<base-palette\>"
|
||||||
syn match cssFontProp contained "\<font-language-override\>"
|
syn match cssFontProp contained "\<font-language-override\>"
|
||||||
|
syn match cssFontProp contained "\<font-variant-emoji\>"
|
||||||
syn keyword cssFontAttr contained emoji math fangsong infinity swap fallback optional light dark
|
syn keyword cssFontAttr contained emoji math fangsong infinity swap fallback optional light dark
|
||||||
syn match cssFontAttr contained "\<system-ui\>"
|
syn match cssFontAttr contained "\<system-ui\>"
|
||||||
syn region cssInclude start=/@font-palette-values\>/ end=/\ze{/ skipwhite skipnl contains=css.*Prop,css.*Attr,cssValueInteger,cssValueLength,cssMediaKeyword,cssVendor,cssIncludeKeyword,cssComment nextgroup=cssMediaBlock
|
syn region cssInclude start=/@font-palette-values\>/ end=/\ze{/ skipwhite skipnl contains=css.*Prop,css.*Attr,cssValueInteger,cssValueLength,cssMediaKeyword,cssVendor,cssIncludeKeyword,cssComment nextgroup=cssMediaBlock
|
||||||
|
|||||||
@@ -333,7 +333,7 @@
|
|||||||
font-palette: swap;
|
font-palette: swap;
|
||||||
font-presentation: fallback;
|
font-presentation: fallback;
|
||||||
font-language-override: optional;
|
font-language-override: optional;
|
||||||
display: light;
|
font-variant-emoji: light;
|
||||||
display: dark;
|
display: dark;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user