Skip to content

Commit

Permalink
feat(css): Add css symbols() function
Browse files Browse the repository at this point in the history
  • Loading branch information
skyclouds2001 authored Jan 19, 2025
1 parent dec5840 commit ef1ea05
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
8 changes: 8 additions & 0 deletions css/functions.json
Original file line number Diff line number Diff line change
Expand Up @@ -732,6 +732,14 @@
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/sqrt"
},
"symbols()": {
"syntax": "symbols( <symbols-type>? [ <string> | <image> ]+ )",
"groups": [
"CSS Counter Styles"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/symbols"
},
"tan()": {
"syntax": "tan( <calc-sum> )",
"groups": [
Expand Down
6 changes: 6 additions & 0 deletions css/syntaxes.json
Original file line number Diff line number Diff line change
Expand Up @@ -914,6 +914,12 @@
"symbol": {
"syntax": "<string> | <image> | <custom-ident>"
},
"symbols()": {
"syntax": "symbols( <symbols-type>? [ <string> | <image> ]+ )"
},
"symbols-type": {
"syntax": "cyclic | numeric | alphabetic | symbolic | fixed"
},
"system-color": {
"syntax": "AccentColor | AccentColorText | ActiveText | ButtonBorder | ButtonFace | ButtonText | Canvas | CanvasText | Field | FieldText | GrayText | Highlight | HighlightText | LinkText | Mark | MarkText | SelectedItem | SelectedItemText | VisitedText"
},
Expand Down

0 comments on commit ef1ea05

Please sign in to comment.