Skip to content

Commit

Permalink
feat(css): Sync syntax for some css functions
Browse files Browse the repository at this point in the history
  • Loading branch information
skyclouds2001 authored Feb 25, 2025
1 parent bf5a713 commit 39f1b9e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions css/functions.json
Original file line number Diff line number Diff line change
Expand Up @@ -554,15 +554,15 @@
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/gradient/repeating-radial-gradient"
},
"rgb()": {
"syntax": "rgb( <percentage>#{3} , <alpha-value>? ) | rgb( <number>#{3} , <alpha-value>? ) | rgb( [ <number> | <percentage> | none ]{3} [ / [ <alpha-value> | none ] ]? )",
"syntax": "rgb( <percentage>#{3} , <alpha-value>? ) | rgb( <number>#{3} , <alpha-value>? ) | rgb( [ <number> | <percentage> | none ]{3} [ / [ <alpha-value> | none ] ]? )",
"groups": [
"CSS Color"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/color_value/rgb"
},
"rgba()": {
"syntax": "rgba( <percentage>#{3} , <alpha-value>? ) | rgba( <number>#{3} , <alpha-value>? ) | rgba( [ <number> | <percentage> | none ]{3} [ / [ <alpha-value> | none ] ]? )",
"syntax": "rgba( <percentage>#{3} , <alpha-value>? ) | rgba( <number>#{3} , <alpha-value>? ) | rgba( [ <number> | <percentage> | none ]{3} [ / [ <alpha-value> | none ] ]? )",
"groups": [
"CSS Color"
],
Expand Down
2 changes: 1 addition & 1 deletion css/syntaxes.json
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@
"syntax": "<color-base> | currentColor | <system-color> | <light-dark()> | <deprecated-system-color>"
},
"color()": {
"syntax": "color( [from <color>]? <colorspace-params> [ / [ <alpha-value> | none ] ]? )"
"syntax": "color( [ from <color> ]? <colorspace-params> [ / [ <alpha-value> | none ] ]? )"
},
"color-base": {
"syntax": "<hex-color> | <color-function> | <named-color> | <color-mix()> | transparent"
Expand Down

0 comments on commit 39f1b9e

Please sign in to comment.