Skip to content

Commit

Permalink
feat(input): add input button spacing tokens for use with subtle butt…
Browse files Browse the repository at this point in the history
…ons that are placed inside inputs.
  • Loading branch information
ljemmo committed Jan 20, 2025
1 parent c7b4ece commit a81452b
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions data/tokens/components/form.json
Original file line number Diff line number Diff line change
Expand Up @@ -459,6 +459,25 @@
"type": "spacing",
"description": "Gap between rows of checkboxes or radios within a group."
}
},
"button": {
"x": {
"S": {
"value": "{global.space.macro.XXXS}",
"type": "spacing",
"description": "left and right padding used on small buttons inside small inputs"
},
"M": {
"value": "{global.space.macro.XXS}",
"type": "spacing",
"description": "left and right padding used on medium buttons inside medium inputs"
},
"L": {
"value": "{global.space.macro.XS}",
"type": "spacing",
"description": "left and right padding used on large buttons inside large inputs"
}
}
}
},
"integral": {
Expand Down

0 comments on commit a81452b

Please sign in to comment.