mirror of
https://github.com/hail2u/vim-css3-syntax.git
synced 2025-12-12 05:21:50 +08:00
Compare commits
8 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
39e6999142 | ||
|
|
d4fb6dfd46 | ||
|
|
bb0b14c8ad | ||
|
|
d578651937 | ||
|
|
d9f7b79780 | ||
|
|
26f59493b9 | ||
|
|
1d8006de19 | ||
|
|
0caf93fcd5 |
@@ -1,3 +1,2 @@
|
|||||||
syn match cssColorProp contained "\<color-adjust\>"
|
|
||||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(hwb\|lab\|lch\|gray\|color\|device-cmyk\=\)\s*(" end=")" oneline keepend
|
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(hwb\|lab\|lch\|gray\|color\|device-cmyk\=\)\s*(" end=")" oneline keepend
|
||||||
syn match cssFontDescriptor "@color-profile\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl
|
syn match cssFontDescriptor "@color-profile\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl
|
||||||
|
|||||||
3
after/syntax/css/color-adjust.vim
Normal file
3
after/syntax/css/color-adjust.vim
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
syn match cssColorProp contained "\<\(forced-\)\=color-adjust\>"
|
||||||
|
syn match cssColorProp contained "\<color-scheme\>"
|
||||||
|
syn keyword cssFontAttr contained only economy exact
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
syn match cssGeneratedContentProp contained "\<marker-side\>"
|
syn match cssGeneratedContentProp contained "\<marker-side\>"
|
||||||
syn match cssGeneratedContentProp contained "\<counter-set\>"
|
syn match cssGeneratedContentProp contained "\<counter-set\>"
|
||||||
syn keyword cssGeneratedContentAttr contained marker
|
syn keyword cssGeneratedContentAttr contained marker
|
||||||
|
syn match cssGeneratedContentAttr contained "\<match-self\>"
|
||||||
syn match cssGeneratedContentAttr contained "\<list-container\>"
|
syn match cssGeneratedContentAttr contained "\<list-container\>"
|
||||||
syn keyword cssPseudoClassId contained marker
|
|
||||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<counters\s*(" end=")" oneline keepend
|
syn region cssFunction contained matchgroup=cssFunctionName start="\<counters\s*(" end=")" oneline keepend
|
||||||
|
|||||||
2
after/syntax/css/nav-1.vim
Normal file
2
after/syntax/css/nav-1.vim
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
syn match cssFontProp contained "\<spatial-navigation-\(action\|contain\)\>"
|
||||||
|
syn keyword cssFontAttr contained focus
|
||||||
@@ -1 +0,0 @@
|
|||||||
syn region cssPseudoClassLang matchgroup=cssPseudoClassId start="::attr(" end=")" oneline
|
|
||||||
@@ -88,7 +88,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.color-4 {
|
.color-4 {
|
||||||
color-adjust: auto;
|
|
||||||
display: hwb(120deg, 44%, 50%);
|
display: hwb(120deg, 44%, 50%);
|
||||||
display: lab(1 2 3);
|
display: lab(1 2 3);
|
||||||
display: lch(4 5 6);
|
display: lch(4 5 6);
|
||||||
@@ -101,6 +100,15 @@
|
|||||||
src: url("http://example.org/swop-coated.icc");
|
src: url("http://example.org/swop-coated.icc");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.color-adjust-1 {
|
||||||
|
color-scheme: auto;
|
||||||
|
forced-color-adjust: auto;
|
||||||
|
color-adjust: auto;
|
||||||
|
display: only;
|
||||||
|
display: economy;
|
||||||
|
display: exact;
|
||||||
|
}
|
||||||
|
|
||||||
.compositing-1 {
|
.compositing-1 {
|
||||||
mix-blend-mode: auto;
|
mix-blend-mode: auto;
|
||||||
isolation: auto;
|
isolation: auto;
|
||||||
@@ -462,7 +470,7 @@ template {
|
|||||||
.lists-3::marker {
|
.lists-3::marker {
|
||||||
marker-side: auto;
|
marker-side: auto;
|
||||||
counter-set: auto;
|
counter-set: auto;
|
||||||
display: marker;
|
display: match-self;
|
||||||
display: list-container;
|
display: list-container;
|
||||||
display: counters(lack-of-example);
|
display: counters(lack-of-example);
|
||||||
}
|
}
|
||||||
@@ -580,6 +588,12 @@ mask {
|
|||||||
display: auto;
|
display: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.nav-1 {
|
||||||
|
spatial-navigation-contain: auto;
|
||||||
|
spatial-navigation-action: auto;
|
||||||
|
display: focus;
|
||||||
|
}
|
||||||
|
|
||||||
.overflow-3 {
|
.overflow-3 {
|
||||||
max-lines: auto;
|
max-lines: auto;
|
||||||
block-overflow: auto;
|
block-overflow: auto;
|
||||||
|
|||||||
Reference in New Issue
Block a user