mirror of
https://github.com/hail2u/vim-css3-syntax.git
synced 2025-12-06 10:44:23 +08:00
Compare commits
25 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f6dde98e89 | ||
|
|
b9a3a6df3e | ||
|
|
25d1b40347 | ||
|
|
ef6498403d | ||
|
|
124ed746cf | ||
|
|
5ad8dc0270 | ||
|
|
2cbb2ddada | ||
|
|
3409476ae0 | ||
|
|
60da01e45f | ||
|
|
158c39b3ee | ||
|
|
5c104fcfee | ||
|
|
bbf675f5fd | ||
|
|
87283273b0 | ||
|
|
329a8f8bdf | ||
|
|
529d0f5c5a | ||
|
|
77022dc970 | ||
|
|
0318de664c | ||
|
|
090a873101 | ||
|
|
9a24ae3c6f | ||
|
|
cb69880032 | ||
|
|
0e04cfbb09 | ||
|
|
3c4f1d2057 | ||
|
|
a60106e39b | ||
|
|
ba1986d07d | ||
|
|
671f8ea579 |
@@ -1,4 +1,4 @@
|
||||
syn keyword cssFontAttr contained perceptual
|
||||
syn keyword cssFontAttr contained perceptual accentcolor accentcolortext
|
||||
syn match cssFontAttr contained "\<\(relative\|absolute\)-colorimetric\>"
|
||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(hwb\|lab\|lch\|color\|device-cmyk\=\)\s*(" end=")" oneline keepend
|
||||
syn match cssFontDescriptor "@color-profile\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl
|
||||
|
||||
@@ -1 +1 @@
|
||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<color-\(mix\|contrast\)\s*(" end=")" contains=cssCustomProp,cssFunction,cssColor,cssFunctionComma oneline
|
||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<color-mix\s*(" end=")" contains=cssCustomProp,cssFunction,cssColor,cssFunctionComma oneline
|
||||
|
||||
@@ -1,10 +1,12 @@
|
||||
syn match cssSelectorOp "[|]"
|
||||
syn keyword cssPseudoClassId contained scope current past future default valid required optional blank playing paused
|
||||
syn keyword cssPseudoClassId contained scope current past future default valid required optional blank playing paused defined modal fullscreen seeking buffering stalled muted autofill
|
||||
syn match cssPseudoClassId contained "\<\(any\|local\)-link\>"
|
||||
syn match cssPseudoClassId contained "\<read-\(only\|write\)\>"
|
||||
syn match cssPseudoClassId contained "\<placeholder-shown\>"
|
||||
syn match cssPseudoClassId contained "\<\(in\|out-of\)-range\>"
|
||||
syn match cssPseudoClassId contained "\<user-invalid\>"
|
||||
syn match cssPseudoClassId contained "\<user-\(invalid\|valid\)\>"
|
||||
syn match cssPseudoClassId contained "\<target-within\>"
|
||||
syn match cssPseudoClassId contained "\<focus-\(within\|visible\)\>"
|
||||
syn match cssPseudoClassId contained "\<picture-in-picture\>"
|
||||
syn match cssPseudoClassId contained "\<volume-locked\>"
|
||||
syn region cssPseudoClassLang matchgroup=cssPseudoClassId start=":\(is\|dir\|local-link\|current\|nth\(-last\)\=-col\|has\|where\)(" end=")" oneline
|
||||
|
||||
@@ -3,6 +3,7 @@ syn match cssTextProp contained "\<text-\(wrap\|spacing\|group-align\)\>"
|
||||
syn match cssTextProp contained "\<wrap-\(before\|after\|inside\)\>"
|
||||
syn match cssTextProp contained "\<hyphenate-\(character\|limit-\(zone\|chars\|lines\|last\)\)\>"
|
||||
syn match cssTextProp contained "\<line-padding\>"
|
||||
syn match cssTextProp contained "\<word-boundary-\(detection\|expansion\)\>"
|
||||
syn keyword cssTextAttr contained spread punctuation
|
||||
syn match cssTextAttr contained "\<preserve-\(breaks\|spaces\)\>"
|
||||
syn match cssTextAttr contained "\<trim-inner\>"
|
||||
@@ -14,3 +15,4 @@ syn match cssTextAttr contained "\<\(trim\|space\)-\(start\|end\|adjacent\)\>"
|
||||
syn match cssTextAttr contained "\<space-first\>"
|
||||
syn match cssTextAttr contained "\<no-compress\>"
|
||||
syn match cssTextAttr contained "\<ideograph-\(alpha\|numeric\)\>"
|
||||
syn match cssTextAttr contained "\<ideographic-space\>"
|
||||
|
||||
@@ -90,6 +90,8 @@
|
||||
display: relative-colorimetric;
|
||||
display: absolute-colorimetric;
|
||||
display: perceptual;
|
||||
display: accentcolor;
|
||||
display: accentcolortext;
|
||||
}
|
||||
|
||||
@color-profile swopc {
|
||||
@@ -98,7 +100,6 @@
|
||||
|
||||
.color-5 {
|
||||
display: color-mix(red yellow 65%);
|
||||
display: color-contrast(wheat tan, sienna, var(--myAccent), #d2691e);
|
||||
}
|
||||
|
||||
.color-adjust-1 {
|
||||
@@ -869,7 +870,18 @@ mask {
|
||||
.selectors-4:playing,
|
||||
.selectors-4:paused,
|
||||
.selectors-4:has(> img),
|
||||
.selectors-4:where(:not(:hover)) {
|
||||
.selectors-4:where(:not(:hover)),
|
||||
.selectors-4:defined,
|
||||
.selectors-4:modal,
|
||||
.selectors-4:fullscreen,
|
||||
.selectors-4:picture-in-picture,
|
||||
.selectors-4:seeking,
|
||||
.selectors-4:buffering,
|
||||
.selectors-4:stalled,
|
||||
.selectors-4:muted,
|
||||
.selectors-4:volume-locked,
|
||||
.selectors-4:autofill,
|
||||
.selectors-4:user-valid {
|
||||
display: auto;
|
||||
}
|
||||
|
||||
@@ -1074,6 +1086,8 @@ view {
|
||||
text-group-align: auto;
|
||||
line-padding: auto;
|
||||
text-spacing: auto;
|
||||
word-boundary-detection: auto;
|
||||
word-boundary-expansion: auto;
|
||||
display: preserve-breaks;
|
||||
display: preserve-spaces;
|
||||
display: trim-inner;
|
||||
@@ -1095,6 +1109,7 @@ view {
|
||||
display: ideograph-alpha;
|
||||
display: ideograph-numeric;
|
||||
display: punctuation;
|
||||
display: ideographic-space;
|
||||
}
|
||||
|
||||
.text-decor-3 {
|
||||
|
||||
Reference in New Issue
Block a user