Skip to content

Commit

Permalink
feat(data): adding component specific icon tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
ljemmo committed Mar 27, 2024
1 parent 18e1511 commit 7a3e07e
Show file tree
Hide file tree
Showing 9 changed files with 54 additions and 5 deletions.
6 changes: 6 additions & 0 deletions data/tokens/components/button.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@
"value": "{global.size.macro.L}",
"type": "sizing",
"description": "min-height on L Buttons"
},
"icon": {
"M": {
"value": "{global.size.icon.M}",
"type": "sizing"
}
}
},
"space": {
Expand Down
6 changes: 6 additions & 0 deletions data/tokens/components/container.json
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,12 @@
"type": "sizing",
"description": "tooltip arrow height"
}
},
"icon": {
"M": {
"value": "{global.size.icon.M}",
"type": "sizing"
}
}
},
"radius": {
Expand Down
6 changes: 6 additions & 0 deletions data/tokens/components/feedback.json
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,12 @@
"description": "message and toast icon container width"
}
}
},
"icon": {
"M": {
"value": "{global.size.icon.M}",
"type": "sizing"
}
}
},
"radius": {
Expand Down
11 changes: 6 additions & 5 deletions data/tokens/components/form.json
Original file line number Diff line number Diff line change
Expand Up @@ -230,11 +230,6 @@
"value": "{origin.dimension.0}",
"type": "sizing"
},
"icon": {
"value": "{global.size.icon.M}",
"type": "sizing",
"description": "icon"
},
"calendar": {
"date": {
"value": "{global.size.macro.M}",
Expand Down Expand Up @@ -368,6 +363,12 @@
"type": "sizing",
"description": "2px validation bar used on errors and warnings"
}
},
"icon": {
"M": {
"value": "{global.size.icon.M}",
"type": "sizing"
}
}
},
"color": {
Expand Down
6 changes: 6 additions & 0 deletions data/tokens/components/link.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,12 @@
"value": "{global.size.macro.M}",
"type": "sizing"
}
},
"icon": {
"M": {
"value": "{global.size.icon.M}",
"type": "sizing"
}
}
},
"radius": {
Expand Down
6 changes: 6 additions & 0 deletions data/tokens/components/nav.json
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,12 @@
"description": "Left nav collapsed parent container"
}
}
},
"icon": {
"M": {
"value": "{global.size.icon.M}",
"type": "sizing"
}
}
},
"radius": {
Expand Down
6 changes: 6 additions & 0 deletions data/tokens/components/popover.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,12 @@
"type": "sizing",
"description": "Large popover menu items"
}
},
"icon": {
"M": {
"value": "{global.size.icon.M}",
"type": "sizing"
}
}
},
"radius": {
Expand Down
6 changes: 6 additions & 0 deletions data/tokens/components/tab.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@
"value": "{global.size.macro.L}",
"type": "sizing",
"description": "L tab"
},
"icon": {
"M": {
"value": "{global.size.icon.M}",
"type": "sizing"
}
}
},
"space": {
Expand Down
6 changes: 6 additions & 0 deletions data/tokens/components/table.json
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,12 @@
"type": "sizing"
}
}
},
"icon": {
"M": {
"value": "{global.size.icon.M}",
"type": "sizing"
}
}
}
}
Expand Down

0 comments on commit 7a3e07e

Please sign in to comment.