Skip to content

Commit

Permalink
Merge branch 'main' into interfaces_at-rules
Browse files Browse the repository at this point in the history
  • Loading branch information
bsmth authored Jan 15, 2025
2 parents 04371c7 + 13074e5 commit bf14599
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 4 deletions.
10 changes: 9 additions & 1 deletion css/functions.json
Original file line number Diff line number Diff line change
Expand Up @@ -120,13 +120,21 @@
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/clamp"
},
"color()": {
"syntax": "color( [from <color>]? <colorspace-params> [ / [ <alpha-value> | none ] ]? )",
"syntax": "color( [ from <color> ]? <colorspace-params> [ / [ <alpha-value> | none ] ]? )",
"groups": [
"CSS Color"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/color_value/color"
},
"color-mix()": {
"syntax": "color-mix( <color-interpolation-method> , [ <color> && <percentage [0,100]>? ]#{2})",
"groups": [
"CSS Color"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/color_value/color-mix"
},
"conic-gradient()": {
"syntax": "conic-gradient( [ from <angle> ]? [ at <position> ]?, <angular-color-stop-list> )",
"groups": [
Expand Down
4 changes: 2 additions & 2 deletions css/properties.json
Original file line number Diff line number Diff line change
Expand Up @@ -10105,7 +10105,7 @@
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/text-size-adjust"
},
"text-spacing-trim": {
"syntax": "space-all | normal | space-first | trim-start | trim-both | trim-all | auto",
"syntax": "space-all | normal | space-first | trim-start",
"media": "visual",
"inherited": true,
"animationType": "discrete",
Expand Down Expand Up @@ -10665,7 +10665,7 @@
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/white-space"
},
"white-space-collapse": {
"syntax": "collapse | discard | preserve | preserve-breaks | preserve-spaces | break-spaces",
"syntax": "collapse | preserve | preserve-breaks | preserve-spaces | break-spaces",
"media": "visual",
"inherited": true,
"animationType": "discrete",
Expand Down
8 changes: 7 additions & 1 deletion css/syntaxes.json
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,10 @@
"syntax": "color( [from <color>]? <colorspace-params> [ / [ <alpha-value> | none ] ]? )"
},
"color-interpolation-method": {
"syntax": "in [ <rectangular-color-space> | <polar-color-space> <hue-interpolation-method>? ]"
"syntax": "in [ <rectangular-color-space> | <polar-color-space> <hue-interpolation-method>? | <custom-color-space> ]"
},
"color-mix()": {
"syntax": "color-mix( <color-interpolation-method> , [ <color> && <percentage [0,100]>? ]#{2})"
},
"color-stop": {
"syntax": "<color-stop-length> | <color-stop-angle>"
Expand Down Expand Up @@ -245,6 +248,9 @@
"cubic-bezier-timing-function": {
"syntax": "ease | ease-in | ease-out | ease-in-out | cubic-bezier(<number [0,1]>, <number>, <number [0,1]>, <number>)"
},
"custom-color-space": {
"syntax": "<dashed-ident>"
},
"custom-params": {
"syntax": "<dashed-ident> [ <number> | <percentage> | none ]+"
},
Expand Down

0 comments on commit bf14599

Please sign in to comment.