File tree Expand file tree Collapse file tree 2 files changed +18
-1
lines changed Expand file tree Collapse file tree 2 files changed +18
-1
lines changed Original file line number Diff line number Diff line change 1
1
syn match cssValueLength contained " [-+]\=\d\+\(\.\d *\)\=\( vi\| vb\| ic\| cap\| lh\| rlh\) "
2
- syn region cssFunction contained matchgroup =cssFunctionName start =" \<\( min\| max\| clamp\| toggle\)\s *(" end =" )" oneline keepend
2
+ syn region cssFunction contained matchgroup =cssFunctionName start =" \<\( min\| max\| clamp\| toggle\| round \| mod \| rem \| a \=\( sin \| cos \| tan \)\| atan2 \| pow \| sqrt \| hypot \| log \| exp \| abs \| sign \ )\s *(" end =" )" oneline keepend
Original file line number Diff line number Diff line change @@ -1161,6 +1161,23 @@ view {
1161
1161
display : max (0 , 1 );
1162
1162
display : clamp (0 , 100 , 2 );
1163
1163
display : toggle (italic, normal);
1164
+ display : round (var (--width ), 50px );
1165
+ display : mod (-18px , 5px );
1166
+ display : rem (-18px , 5px );
1167
+ display : sin (45deg );
1168
+ display : cos (1 );
1169
+ display : tan (1 );
1170
+ display : asin (45deg );
1171
+ display : acos (1 );
1172
+ display : atan (1 );
1173
+ display : atan2 (1 , -1 );
1174
+ display : pow (1.5 , -1 );
1175
+ display : sqrt (4 );
1176
+ display : hypot (30px , 40px );
1177
+ display : log (10 );
1178
+ display : exp (1 );
1179
+ display : abs (-1 );
1180
+ display : sign (-4 );
1164
1181
}
1165
1182
1166
1183
.variables-1 {
You can’t perform that action at this time.
0 commit comments