mirror of
https://github.com/hail2u/vim-css3-syntax.git
synced 2025-12-07 03:04:26 +08:00
Compare commits
31 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
82afdcdc63 | ||
|
|
7f1c068e64 | ||
|
|
6aa08ed7a8 | ||
|
|
444215b6fd | ||
|
|
246cc6e099 | ||
|
|
5540e02485 | ||
|
|
1a895dc088 | ||
|
|
841e4bb515 | ||
|
|
0ac0b4ca08 | ||
|
|
da60696e7b | ||
|
|
f3de982f44 | ||
|
|
6fab44a6c4 | ||
|
|
a72b347b75 | ||
|
|
213ac91578 | ||
|
|
bbfd67f785 | ||
|
|
0e25532d8a | ||
|
|
e74a5c6940 | ||
|
|
47f59169c0 | ||
|
|
cdbc9512db | ||
|
|
cb426f77cf | ||
|
|
4cabff16d6 | ||
|
|
18d867b3b1 | ||
|
|
0b4b3219e1 | ||
|
|
be159483e9 | ||
|
|
fcb88f2110 | ||
|
|
1baaddd039 | ||
|
|
c1dc0b4c7c | ||
|
|
6ea52b468a | ||
|
|
5a004b69ad | ||
|
|
750667a312 | ||
|
|
ab5722664a |
1
after/syntax/css/cascade-5.vim
Normal file
1
after/syntax/css/cascade-5.vim
Normal file
@@ -0,0 +1 @@
|
||||
syn match cssFontAttr contained "\<revert-layer\>"
|
||||
@@ -1,3 +1,3 @@
|
||||
syn match cssColorProp contained "\<\(forced-\)\=color-adjust\>"
|
||||
syn match cssColorProp contained "\<\(forced-\|print-\)\=color-adjust\>"
|
||||
syn match cssColorProp contained "\<color-scheme\>"
|
||||
syn keyword cssFontAttr contained economy exact
|
||||
|
||||
@@ -1,16 +1,19 @@
|
||||
syn match cssFontProp contained "\<font-synthesis\(-\(weight\|style\|small-caps\|settings\)\)\=\>"
|
||||
syn match cssFontProp contained "\<font-named-instance\>"
|
||||
syn match cssFontProp contained "\<font-display\>"
|
||||
syn match cssFontProp contained "\<\(ascent\|descent\|line-gap\)-override\>"
|
||||
syn match cssFontProp contained "\<font-optical-sizing\>"
|
||||
syn match cssFontProp contained "\<font-variation-settings\>"
|
||||
syn match cssFontProp contained "\<font-palette\>"
|
||||
syn match cssFontProp contained "\<font-variant-emoji\>"
|
||||
syn match cssFontProp contained "\<font-presentation\>"
|
||||
syn match cssFontProp contained "\<base-palette\>"
|
||||
syn match cssFontProp contained "\<override-color\>"
|
||||
syn match cssFontProp contained "\<font-variant-emoji\>"
|
||||
syn keyword cssFontAttr contained emoji math fangsong infinity swap fallback optional light dark
|
||||
syn keyword cssFontAttr contained emoji math fangsong swap fallback light dark
|
||||
syn match cssFontAttr contained "\<system-ui\>"
|
||||
syn match cssFontAttr contained "\<ui-\(\(sans-\)\=serif\|monospace\|rounded\)\>"
|
||||
syn match cssFontAttr contained "\<historical-forms\>"
|
||||
syn match cssFontAttr contained "\<xxx-large\>"
|
||||
syn match cssFontAttr contained "\<historical-forms\>"
|
||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(stylistic\|styleset\|character-variant\|swash\|ornaments\|annotation\)\s*(" end=")" oneline keepend
|
||||
" syn match cssFontDescriptor "@font-feature-values\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl
|
||||
syn match cssFontDescriptor "@font-feature-values\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl
|
||||
syn match cssFontDescriptor "@font-palette-values\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
syn match cssPseudoClassId contained "\<inactive-selection\>"
|
||||
syn match cssPseudoClassId contained "\<target-text\>"
|
||||
syn match cssPseudoClassId contained "\<\(spelling\|grammer\)-error\>"
|
||||
syn match cssPseudoClassId contained "\<file-selectors-button\>"
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
syn match cssFontProp contained "\<contain-intrinsic-size\>"
|
||||
syn match cssFontAttr contained "\<\fit-content\>"
|
||||
syn match cssFontProp contained "\<min-intrinsic-sizing\>"
|
||||
syn match cssFontAttr contained "\<zero-if-\(scroll\|extrinsic\)\>"
|
||||
|
||||
@@ -65,14 +65,16 @@
|
||||
display: auto;
|
||||
}
|
||||
|
||||
@import "cascade-4.css" supports(display: auto);
|
||||
|
||||
.cascade-4 {
|
||||
display: revert;
|
||||
}
|
||||
|
||||
@import "conditional-3.css" supports(display: auto);
|
||||
@import "cascade-5.css" layer(framework component);
|
||||
|
||||
@supports (selector(.conditional-4)) {
|
||||
display: auto;
|
||||
.cascade-5 {
|
||||
display: revert-layer;
|
||||
}
|
||||
|
||||
.color-3 {
|
||||
@@ -103,6 +105,7 @@
|
||||
.color-adjust-1 {
|
||||
color-scheme: auto;
|
||||
forced-color-adjust: auto;
|
||||
print-color-adjust: auto;
|
||||
color-adjust: auto;
|
||||
display: light;
|
||||
display: economy;
|
||||
@@ -131,13 +134,17 @@
|
||||
}
|
||||
|
||||
@supports (display: auto) or
|
||||
(display: auto) not
|
||||
(display: auto) {
|
||||
(display: auto) not
|
||||
(display: auto) {
|
||||
.conditional-3 {
|
||||
display: auto;
|
||||
display: auto;
|
||||
}
|
||||
}
|
||||
|
||||
@supports (selector(.conditional-4)) {
|
||||
display: auto;
|
||||
}
|
||||
|
||||
.contain-1 {
|
||||
contain: auto;
|
||||
display: layout;
|
||||
@@ -354,34 +361,47 @@
|
||||
}
|
||||
|
||||
.fonts-4 {
|
||||
font-synthesis-weight: auto;
|
||||
font-synthesis-style: auto;
|
||||
font-synthesis-small-caps: auto;
|
||||
font-variation-settings: auto;
|
||||
font-named-instance: auto;
|
||||
font-display: auto;
|
||||
ascent-override: auto;
|
||||
descent-override: auto;
|
||||
line-gap-override: auto;
|
||||
font-optical-sizing: auto;
|
||||
font-variation-settings: auto;
|
||||
font-palette: auto;
|
||||
font-presentation: auto;
|
||||
font-variant-emoji: auto;
|
||||
font-presentation: auto;
|
||||
display: system-ui;
|
||||
display: emoji;
|
||||
display: math;
|
||||
display: fangsong;
|
||||
display: infinity;
|
||||
display: stylistic(feature-value-name);
|
||||
display: historical-forms;
|
||||
display: styleset(feature-value-name #);
|
||||
display: character-variant(feature-vlue-name #);
|
||||
display: swash(feature-value-name);
|
||||
display: ornaments(feature-value-name);
|
||||
display: annotation(feature-value-name);
|
||||
display: swap;
|
||||
display: fallback;
|
||||
display: optional;
|
||||
display: light;
|
||||
display: dark;
|
||||
display: ui-serif;
|
||||
display: ui-sans-serif;
|
||||
display: ui-monospace;
|
||||
display: ui-rounded;
|
||||
display: xxx-large;
|
||||
display: swap;
|
||||
display: fallback;
|
||||
display: historical-forms;
|
||||
display: stylistic(feature-value-name);
|
||||
display: styleset(feature-value-name #);
|
||||
display: character-variant(feature-vlue-name #);
|
||||
display: swash(feature-value-name);
|
||||
display: ornaments(feature-value-name);
|
||||
display: annotation(feature-value-name);
|
||||
display: light;
|
||||
display: dark;
|
||||
}
|
||||
|
||||
@font-feature-values Test {
|
||||
@swash {
|
||||
swishy: 1;
|
||||
flowing: 2;
|
||||
}
|
||||
}
|
||||
|
||||
@font-palette-values Test {
|
||||
@@ -679,9 +699,10 @@ mask {
|
||||
initial-value: auto;
|
||||
}
|
||||
|
||||
.pseudo-4::inactive-selection,
|
||||
.pseudo-4::target-text,
|
||||
.pseudo-4::spelling-error,
|
||||
.pseudo-4::grammer-error {
|
||||
.pseudo-4::grammer-error,
|
||||
.pseudi-4::file-selectors-button {
|
||||
display: auto;
|
||||
}
|
||||
|
||||
@@ -864,7 +885,10 @@ mask {
|
||||
|
||||
.sizing-4 {
|
||||
contain-intrinsic-size: auto;
|
||||
min-intrinsic-sizing: auto;
|
||||
display: fit-content;
|
||||
display: zero-if-scroll;
|
||||
display: zero-if-extrinsic;
|
||||
}
|
||||
|
||||
.speech-1 {
|
||||
|
||||
Reference in New Issue
Block a user