Skip to content

Commit c6a4a03

Browse files
update
1 parent a173f44 commit c6a4a03

2 files changed

Lines changed: 7 additions & 4 deletions

File tree

css/functions.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@
136136
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/color_value/color-mix"
137137
},
138138
"conic-gradient()": {
139-
"syntax": "conic-gradient( [ [ [ from <angle> ]? [ at <position> ]? ] || <color-interpolation-method> ]? , <angular-color-stop-list> )",
139+
"syntax": "conic-gradient( [ <conic-gradient-syntax> ] )",
140140
"groups": [
141141
"CSS Images"
142142
],
@@ -530,7 +530,7 @@
530530
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/rem"
531531
},
532532
"repeating-conic-gradient()": {
533-
"syntax": "repeating-conic-gradient( [ from <angle> ]? [ at <position> ]?, <angular-color-stop-list> )",
533+
"syntax": "repeating-conic-gradient( [ <conic-gradient-syntax> ] )",
534534
"groups": [
535535
"CSS Images"
536536
],

css/syntaxes.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,10 @@
207207
"syntax": "<compound-selector>#"
208208
},
209209
"conic-gradient()": {
210-
"syntax": "conic-gradient( [ [ [ from <angle> ]? [ at <position> ]? ] || <color-interpolation-method> ]? , <angular-color-stop-list> )"
210+
"syntax": "conic-gradient( [ <conic-gradient-syntax> ] )"
211+
},
212+
"conic-gradient-syntax": {
213+
"syntax": "[ [ [ from [ <angle> | <zero> ] ]? [ at <position> ]? ] || <color-interpolation-method> ]? , <angular-color-stop-list>"
211214
},
212215
"content-distribution": {
213216
"syntax": "space-between | space-around | space-evenly | stretch"
@@ -768,7 +771,7 @@
768771
"syntax": "repeat-x | repeat-y | [ repeat | space | round | no-repeat ]{1,2}"
769772
},
770773
"repeating-conic-gradient()": {
771-
"syntax": "repeating-conic-gradient( [ from <angle> ]? [ at <position> ]?, <angular-color-stop-list> )"
774+
"syntax": "repeating-conic-gradient( [ <conic-gradient-syntax> ] )"
772775
},
773776
"repeating-linear-gradient()": {
774777
"syntax": "repeating-linear-gradient( [ <angle> | to <side-or-corner> ]? , <color-stop-list> )"

0 commit comments

Comments
 (0)