mirror of
https://github.com/hail2u/vim-css3-syntax.git
synced 2025-12-07 11:14:25 +08:00
Add css-fonts-4.vim
See also: https://drafts.csswg.org/css-fonts-4/ This resolves #43.
This commit is contained in:
4
after/syntax/css/css-fonts-4.vim
Normal file
4
after/syntax/css/css-fonts-4.vim
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
syn match cssFontProp contained "\<font-optical-sizing\>"
|
||||||
|
syn match cssFontProp contained "\<font-variation-settings\>"
|
||||||
|
syn keyword cssFontAttr contained emoji math fangsong
|
||||||
|
syn match cssFontAttr contained "\<system-ui\>"
|
||||||
@@ -12,6 +12,7 @@ syn include @htmlCss syntax/css/css-display-3.vim
|
|||||||
syn include @htmlCss syntax/css/css-flexbox-1.vim
|
syn include @htmlCss syntax/css/css-flexbox-1.vim
|
||||||
syn include @htmlCss syntax/css/css-font-loading-3.vim
|
syn include @htmlCss syntax/css/css-font-loading-3.vim
|
||||||
syn include @htmlCss syntax/css/css-fonts-3.vim
|
syn include @htmlCss syntax/css/css-fonts-3.vim
|
||||||
|
syn include @htmlCss syntax/css/css-fonts-4.vim
|
||||||
syn include @htmlCss syntax/css/css-gcpm-3.vim
|
syn include @htmlCss syntax/css/css-gcpm-3.vim
|
||||||
syn include @htmlCss syntax/css/css-grid-1.vim
|
syn include @htmlCss syntax/css/css-grid-1.vim
|
||||||
syn include @htmlCss syntax/css/css-inline-3.vim
|
syn include @htmlCss syntax/css/css-inline-3.vim
|
||||||
|
|||||||
@@ -286,6 +286,13 @@
|
|||||||
display: proportional-width;
|
display: proportional-width;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.fonts-4 {
|
||||||
|
font-optical-sizing: emoji;
|
||||||
|
font-variation-settings: math;
|
||||||
|
display: fangsong;
|
||||||
|
display: system-ui;
|
||||||
|
}
|
||||||
|
|
||||||
.gcpm-3::footnote-call,
|
.gcpm-3::footnote-call,
|
||||||
.gcpm-3::footnote-marker {
|
.gcpm-3::footnote-marker {
|
||||||
running: footnote;
|
running: footnote;
|
||||||
|
|||||||
@@ -318,6 +318,14 @@
|
|||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<style>
|
<style>
|
||||||
|
.fonts-4 {
|
||||||
|
font-optical-sizing: emoji;
|
||||||
|
font-variation-settings: math;
|
||||||
|
display: fangsong;
|
||||||
|
display: system-ui;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
<style>
|
||||||
.gcpm-3::footnote-call,
|
.gcpm-3::footnote-call,
|
||||||
.gcpm-3::footnote-marker {
|
.gcpm-3::footnote-marker {
|
||||||
running: footnote;
|
running: footnote;
|
||||||
|
|||||||
Reference in New Issue
Block a user