Add filter-effects.vim

See also: http://www.w3.org/TR/filter-effects/
This commit is contained in:
Kyo Nagashima
2016-01-03 20:07:08 +09:00
parent eb4d73adc1
commit 70488eec56
4 changed files with 21 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
syn match cssFontProp contained "\<flood-\(color\|opacity\)\>"
syn match cssFontProp contained "\<color-interpolation-filters\>"
syn match cssFontProp contained "\<lighting-color\>"
syn keyword cssFontAttr sRGB linearRGB

View File

@@ -5,6 +5,7 @@ syn include @htmlCss syntax/css/css-cascade-4.vim
syn include @htmlCss syntax/css/css-counter-styles-3.vim
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-gcpm-3.vim
syn include @htmlCss syntax/css/css-grid-1.vim
syn include @htmlCss syntax/css/css-inline-3.vim
@@ -48,6 +49,7 @@ syn include @htmlCss syntax/css/css3-speech.vim
syn include @htmlCss syntax/css/css3-transforms.vim
syn include @htmlCss syntax/css/css3-transitions.vim
syn include @htmlCss syntax/css/cssom-view.vim
syn include @htmlCss syntax/css/filter-effects.vim
syn include @htmlCss syntax/css/html5-elements.vim
syn include @htmlCss syntax/css/motion-1.vim
syn include @htmlCss syntax/css/selectors-nonelement-1.vim

View File

@@ -179,6 +179,13 @@
wrap-through: maximum;
}
.filter-effects {
flood-color: sRGB;
flood-opacity: linearRGB;
color-interpolation-filters: auto;
lighting-color: auto;
}
.flexbox {
flex-direction: flex;
flex-wrap: inline-flex;

View File

@@ -205,6 +205,14 @@
}
</style>
<style>
.filter-effects {
flood-color: sRGB;
flood-opacity: linearRGB;
color-interpolation-filters: auto;
lighting-color: auto;
}
</style>
<style>
.flexbox {
flex-direction: flex;
flex-wrap: inline-flex;