Skip to content

Commit

Permalink
Add <syntax-color>
Browse files Browse the repository at this point in the history
  • Loading branch information
pamelalozano16 committed Oct 13, 2024
1 parent 0f088fd commit a2cbd06
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion css/properties.json
Original file line number Diff line number Diff line change
Expand Up @@ -2085,7 +2085,7 @@
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/appearance"
},
"aspect-ratio": {
"syntax": "auto | <ratio> | auto <ratio> | <ratio> auto",
"syntax": "auto || <ratio>",
"media": "all",
"inherited": false,
"animationType": "byComputedValueType",
Expand Down
7 changes: 5 additions & 2 deletions css/syntaxes.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"syntax": "[ <line-names>? [ <fixed-size> | <fixed-repeat> ] ]* <line-names>? <auto-repeat>\n[ <line-names>? [ <fixed-size> | <fixed-repeat> ] ]* <line-names>?"
},
"axis": {
"syntax": "block | inline | vertical | horizontal | x | y"
"syntax": "block | inline | x | y"
},
"baseline-position": {
"syntax": "[ first | last ]? baseline"
Expand Down Expand Up @@ -123,7 +123,7 @@
"syntax": "<url>"
},
"color": {
"syntax": "<rgb()> | <rgba()> | <hsl()> | <hsla()> | <hwb()> | <lab()> | <lch()> | <light-dark()> | <hex-color> | <named-color> | currentcolor | <deprecated-system-color>"
"syntax": "<rgb()> | <rgba()> | <hsl()> | <hsla()> | <hwb()> | <lab()> | <lch()> | <oklab()> | <oklch()> | <color()> | <hex-color> | <named-color> | <system-color> | <deprecated-system-color> | currentcolor | transparent"
},
"color-stop": {
"syntax": "<color-stop-length> | <color-stop-angle>"
Expand Down Expand Up @@ -812,6 +812,9 @@
"symbol": {
"syntax": "<string> | <image> | <custom-ident>"
},
"system-color": {
"syntax": "AccentColor | AccentColorText | ActiveText | ButtonBorder | ButtonFace | ButtonText | Canvas | CanvasText | Field | FieldText | GrayText | Highlight | HighlightText | LinkText | Mark | MarkText | SelectedItem | SelectedItemText | VisitedText"
},
"tan()": {
"syntax": "tan( <calc-sum> )"
},
Expand Down

0 comments on commit a2cbd06

Please sign in to comment.