Skip to content

Commit

Permalink
Merge pull request #4295 from grommet/element-icon-size
Browse files Browse the repository at this point in the history
Add element icon size tokens
  • Loading branch information
taysea authored Oct 29, 2024
2 parents 5dac863 + c440e65 commit bc102cc
Showing 1 changed file with 70 additions and 0 deletions.
70 changes: 70 additions & 0 deletions design-tokens/tokens/component/element.default.json
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,20 @@
"codeSyntax": {}
}
}
},
"icon": {
"size": {
"$type": "number",
"$value": "{size.icon.xsmall}",
"$description": "",
"$extensions": {
"com.figma": {
"hiddenFromPublishing": false,
"scopes": ["WIDTH_HEIGHT"],
"codeSyntax": {}
}
}
}
}
},
"small": {
Expand Down Expand Up @@ -294,6 +308,20 @@
}
}
}
},
"icon": {
"size": {
"$type": "number",
"$value": "{size.icon.small}",
"$description": "",
"$extensions": {
"com.figma": {
"hiddenFromPublishing": false,
"scopes": ["WIDTH_HEIGHT"],
"codeSyntax": {}
}
}
}
}
},
"medium": {
Expand Down Expand Up @@ -442,6 +470,20 @@
}
}
}
},
"icon": {
"size": {
"$type": "number",
"$value": "{size.icon.medium}",
"$description": "",
"$extensions": {
"com.figma": {
"hiddenFromPublishing": false,
"scopes": ["WIDTH_HEIGHT"],
"codeSyntax": {}
}
}
}
}
},
"large": {
Expand Down Expand Up @@ -590,6 +632,20 @@
}
}
}
},
"icon": {
"size": {
"$type": "number",
"$value": "{size.icon.large}",
"$description": "",
"$extensions": {
"com.figma": {
"hiddenFromPublishing": false,
"scopes": ["WIDTH_HEIGHT"],
"codeSyntax": {}
}
}
}
}
},
"xlarge": {
Expand Down Expand Up @@ -738,6 +794,20 @@
}
}
}
},
"icon": {
"size": {
"$type": "number",
"$value": "{size.icon.xlarge}",
"$description": "",
"$extensions": {
"com.figma": {
"hiddenFromPublishing": false,
"scopes": ["WIDTH_HEIGHT"],
"codeSyntax": {}
}
}
}
}
}
}
Expand Down

0 comments on commit bc102cc

Please sign in to comment.