mirror of
https://github.com/hail2u/vim-css3-syntax.git
synced 2025-12-11 21:11:52 +08:00
Compare commits
9 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5f1c2f4cfe | ||
|
|
24df990311 | ||
|
|
2017ababce | ||
|
|
9caf119a57 | ||
|
|
c61637cc7a | ||
|
|
d852533256 | ||
|
|
6f5b17688c | ||
|
|
d65cd9c88e | ||
|
|
107e3bd060 |
1
.github/FUNDING.yml
vendored
Normal file
1
.github/FUNDING.yml
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
github: hail2u
|
||||||
1
after/syntax/css/color-5.vim
Normal file
1
after/syntax/css/color-5.vim
Normal file
@@ -0,0 +1 @@
|
|||||||
|
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(color-\(mix\|contrast\|adjust\)\|red\|green\|blue\|alpha\|hue\|saturation\|lightness\|whiteness\|blackness\|a\|b\|chroma\)\s*(" end=")" contains=cssCustomProp,cssFunction,cssColor,cssFunctionComma oneline
|
||||||
0
after/syntax/css/conditional-4.vim
Normal file
0
after/syntax/css/conditional-4.vim
Normal file
1
after/syntax/css/scrollbars-1.vim
Normal file
1
after/syntax/css/scrollbars-1.vim
Normal file
@@ -0,0 +1 @@
|
|||||||
|
syn match cssFontProp contained "\<scrollbar-\(color\|width\)\>"
|
||||||
6
after/syntax/css/speech-1.vim
Normal file
6
after/syntax/css/speech-1.vim
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
syn match cssAuralProp contained "\<voice-\(volume\|balance\|rate\|pitch\|range\|stress\|duration\)\>"
|
||||||
|
syn match cssAuralProp contained "\<rest\(-\(before\|after\)\)\=\>"
|
||||||
|
syn keyword cssAuralAttr contained young old neutral preserve moderate reduced
|
||||||
|
syn match cssAuralAttr contained "\<\(literal\|no\)-punctuation\>"
|
||||||
|
syn match cssAuralAttr contained "\<\(x-\)\=\(weak\|strong\)\>"
|
||||||
|
syn match cssValueNumber contained "[-+]\=\d\+\(dB\|st\)"
|
||||||
2
after/syntax/css/transforms-2.vim
Normal file
2
after/syntax/css/transforms-2.vim
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
syn keyword cssFontProp contained rotate scale translate
|
||||||
|
syn keyword cssFontAttr contained flat
|
||||||
@@ -79,7 +79,11 @@
|
|||||||
display: revert;
|
display: revert;
|
||||||
}
|
}
|
||||||
|
|
||||||
@import "test.css" supports(display: auto);
|
@import "conditional-3.css" supports(display: auto);
|
||||||
|
|
||||||
|
@supports (selector(.conditional-4)) {
|
||||||
|
display: auto;
|
||||||
|
}
|
||||||
|
|
||||||
.color-3 {
|
.color-3 {
|
||||||
display: auto;
|
display: auto;
|
||||||
@@ -101,6 +105,12 @@
|
|||||||
src: url("http://example.org/swop-coated.icc");
|
src: url("http://example.org/swop-coated.icc");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.color-5 {
|
||||||
|
display: color-mix(red yellow 65%);
|
||||||
|
display: color-contrast(wheat tan, sienna, var(--myAccent), #d2691e);
|
||||||
|
display: color-adjust(peru lightness(-20%));
|
||||||
|
}
|
||||||
|
|
||||||
.color-adjust-1 {
|
.color-adjust-1 {
|
||||||
color-scheme: auto;
|
color-scheme: auto;
|
||||||
forced-color-adjust: auto;
|
forced-color-adjust: auto;
|
||||||
@@ -776,6 +786,11 @@ mask {
|
|||||||
display: proximity;
|
display: proximity;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.scrollbars-1 {
|
||||||
|
scrollbar-color: auto;
|
||||||
|
scrollbar-width: auto;
|
||||||
|
}
|
||||||
|
|
||||||
.selectors-3:enabled,
|
.selectors-3:enabled,
|
||||||
.selectors-3:indeterminate,
|
.selectors-3:indeterminate,
|
||||||
.selectors-3:nth-child(2n+1),
|
.selectors-3:nth-child(2n+1),
|
||||||
@@ -845,6 +860,33 @@ mask {
|
|||||||
display: fit-content(10%);
|
display: fit-content(10%);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.speech-1 {
|
||||||
|
voice-volume: auto;
|
||||||
|
voice-balance: auto;
|
||||||
|
rest-before: auto;
|
||||||
|
rest-after: auto;
|
||||||
|
rest: auto;
|
||||||
|
voice-rate: auto;
|
||||||
|
voice-pitch: auto;
|
||||||
|
voice-range: auto;
|
||||||
|
voice-stress: auto;
|
||||||
|
voice-duration: auto;
|
||||||
|
display: 10dB;
|
||||||
|
display: literal-punctuation;
|
||||||
|
display: no-punctuation;
|
||||||
|
display: x-weak;
|
||||||
|
display: weak;
|
||||||
|
display: strong;
|
||||||
|
display: x-strong;
|
||||||
|
display: young;
|
||||||
|
display: old;
|
||||||
|
display: neutral;
|
||||||
|
display: preserve;
|
||||||
|
display: 10st;
|
||||||
|
display: moderate;
|
||||||
|
display: reduced;
|
||||||
|
}
|
||||||
|
|
||||||
.style-attr {
|
.style-attr {
|
||||||
display: auto;
|
display: auto;
|
||||||
}
|
}
|
||||||
@@ -1057,6 +1099,13 @@ view {
|
|||||||
transform-box: auto;
|
transform-box: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.tranforms-2 {
|
||||||
|
rotate: auto;
|
||||||
|
scale: auto;
|
||||||
|
translate: auto;
|
||||||
|
display: flat;
|
||||||
|
}
|
||||||
|
|
||||||
.transitions-1 {
|
.transitions-1 {
|
||||||
display: auto;
|
display: auto;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user