File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 1
1
syn keyword cssFontProp contained interpolate- size
2
2
syn keyword cssFontAttr contained numeric- only allow- keyword
3
- syn region cssFunction contained matchgroup =cssFunctionName start =" \<\(\(\( media\| container\) -\)\= progress\|\(\( calc\| transform\) -\)\= mix\| cross-fade\| first-valid\| toggle\| random\( -item\)\=\| sibling-\( count\| index\)\| calc-size\)\s *(" end =" )" oneline keepend
3
+ syn region cssFunction contained matchgroup =cssFunctionName start =" \<\(\(\( media\| container\) -\)\= progress\|\(\( calc\| transform\) -\)\= mix\| cross-fade\| first-valid\| toggle\| if \| inherit \| random\( -item\)\=\| sibling-\( count\| index\)\| calc-size\)\s *(" end =" )" oneline keepend
Original file line number Diff line number Diff line change @@ -1383,6 +1383,8 @@ view {
1383
1383
display : cross-fade (15% , url (foo.png), white);
1384
1384
display : toggle (italic, normal);
1385
1385
display : first-valid (center, none, 1px );
1386
+ display : if (media (screen): red; else: auto);
1387
+ display : inherit (--foo , auto);
1386
1388
display : random (1 , 10 , by 1 );
1387
1389
display : random-item (--x , red, yellow, green);
1388
1390
display : sibling-count ();
You can’t perform that action at this time.
0 commit comments