Skip to content

Commit

Permalink
feat(data): adjusting badge sizing and spacing based on claire's feed…
Browse files Browse the repository at this point in the history
…back
  • Loading branch information
ljemmo committed Feb 21, 2024
1 parent f4668dc commit 5a9187a
Showing 1 changed file with 17 additions and 18 deletions.
35 changes: 17 additions & 18 deletions data/tokens/Components/badge.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,20 +35,24 @@
}
},
"size": {
"S": {
"value": "{global.size.micro.M}",
"type": "sizing",
"description": "Micro dot badge size"
},
"M": {
"value": "{global.size.macro.XS}",
"type": "sizing",
"description": "standard badge size"
"micro": {
"M": {
"value": "{global.size.micro.M}",
"type": "sizing",
"description": "Micro dot badge size"
}
},
"L": {
"value": "{global.size.macro.S} + {global.size.micro.XS}",
"type": "sizing",
"description": "Standard badge max-width"
"standard": {
"min": {
"value": "{global.size.macro.XS}",
"type": "sizing",
"description": "standard badge size"
},
"max": {
"value": "{global.size.macro.S} + {global.size.micro.XS}",
"type": "sizing",
"description": "Standard badge max-width"
}
}
},
"borderradius": {
Expand All @@ -60,11 +64,6 @@
},
"space": {
"x": {
"S": {
"value": "{global.space.micro.XS}",
"type": "spacing",
"description": "used on micro badgest for left and right padding"
},
"M": {
"value": "{global.space.micro.S}",
"type": "spacing",
Expand Down

0 comments on commit 5a9187a

Please sign in to comment.