Merge pull request #44 from hail2u/css-fonts-4

Add css-fonts-4.vim
This commit is contained in:
Kyo Nagashima
2016-11-04 08:42:59 +09:00
committed by GitHub
4 changed files with 20 additions and 0 deletions

View 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\>"

View File

@@ -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-font-loading-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-grid-1.vim
syn include @htmlCss syntax/css/css-inline-3.vim

View File

@@ -286,6 +286,13 @@
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-marker {
running: footnote;

View File

@@ -318,6 +318,14 @@
}
</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-marker {
running: footnote;