Skip to content

Commit

Permalink
feat(data): adding chip tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
ljemmo committed Jun 5, 2024
1 parent 24f51db commit f734649
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
10 changes: 10 additions & 0 deletions data/tokens/components/button.json
Original file line number Diff line number Diff line change
Expand Up @@ -871,6 +871,11 @@
"value": "{global.radius.interactive.M}",
"type": "borderRadius",
"description": "Buttons subtle"
},
"chip": {
"value": "{global.radius.interactive.M}",
"type": "borderRadius",
"description": "Buttons chip"
}
},
"borderwidth": {
Expand All @@ -879,6 +884,11 @@
"type": "borderWidth",
"description": "Override on tertiary buttons within Button-toggle.\n"
},
"chip": {
"value": "{global.borderwidth.XS}",
"type": "borderWidth",
"description": "chip button border width"
},
"secondary": {
"value": "{global.borderwidth.S}",
"type": "borderWidth",
Expand Down
26 changes: 26 additions & 0 deletions data/tokens/components/form.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,32 @@
}
}
},
"chip": {
"xg": {
"M": {
"value": "{global.space.micro.L}",
"type": "spacing",
"description": "gap between medium chip buttons"
},
"L": {
"value": "{global.space.micro.XXL}",
"type": "spacing",
"description": "gap between large chip buttons"
}
},
"yg": {
"M": {
"value": "{global.space.micro.L}",
"type": "spacing",
"description": "gap between medium chip buttons"
},
"L": {
"value": "{global.space.micro.XXL}",
"type": "spacing",
"description": "gap between large chip buttons"
}
}
},
"checkradio": {
"y": {
"S": {
Expand Down

0 comments on commit f734649

Please sign in to comment.