mirror of
https://github.com/hail2u/vim-css3-syntax.git
synced 2026-01-22 00:52:04 +08:00
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\|chroma\)\s*(" end=")" contains=cssCustomProp,cssFunction,cssColor,cssFunctionComma oneline
|
||||||
@@ -101,6 +101,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;
|
||||||
|
|||||||
Reference in New Issue
Block a user