Skip to content

Commit

Permalink
chore(Convert to W3C DTCG format): read more at https://docs.tokens.s…
Browse files Browse the repository at this point in the history
  • Loading branch information
ljemmo authored Jan 21, 2025
1 parent 5e1409e commit a0f60d0
Show file tree
Hide file tree
Showing 29 changed files with 5,947 additions and 5,947 deletions.
86 changes: 43 additions & 43 deletions data/tokens/components/badge.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,103 +3,103 @@
"color": {
"notification": {
"border-default": {
"value": "{modes.color.generic.fg.nought}",
"type": "color"
"$type": "color",
"$value": "{modes.color.generic.fg.nought}"
},
"bg-default": {
"value": "{modes.color.status.negative.default}",
"type": "color"
"$type": "color",
"$value": "{modes.color.status.negative.default}"
},
"label-default": {
"value": "{modes.color.generic.fg.nought}",
"type": "color"
"$type": "color",
"$value": "{modes.color.generic.fg.nought}"
}
}
},
"size": {
"micro": {
"dot": {
"value": "{global.size.micro.M}",
"type": "sizing",
"description": "Micro dot badge size"
"$type": "sizing",
"$value": "{global.size.micro.M}",
"$description": "Micro dot badge size"
},
"numbered": {
"min": {
"value": "{global.size.macro.XXS}",
"type": "sizing",
"description": "Micro dot badge size with numbering"
"$type": "sizing",
"$value": "{global.size.macro.XXS}",
"$description": "Micro dot badge size with numbering"
},
"max": {
"value": "{global.size.macro.S}",
"type": "sizing",
"description": "Micro dot badge size max width"
"$type": "sizing",
"$value": "{global.size.macro.S}",
"$description": "Micro dot badge size max width"
}
}
},
"standard": {
"min": {
"value": "{global.size.macro.XS}",
"type": "sizing",
"description": "standard badge size"
"$type": "sizing",
"$value": "{global.size.macro.XS}",
"$description": "standard badge size"
},
"max": {
"value": "{global.size.macro.S} + {global.size.micro.XS}",
"type": "sizing",
"description": "Standard badge max-width"
"$type": "sizing",
"$value": "{global.size.macro.S} + {global.size.micro.XS}",
"$description": "Standard badge max-width"
}
}
},
"radius": {
"badge": {
"value": "{global.radius.circle}",
"type": "borderRadius",
"description": "Badge"
"$type": "borderRadius",
"$value": "{global.radius.circle}",
"$description": "Badge"
}
},
"space": {
"x": {
"S": {
"value": "{global.space.micro.XS}",
"type": "spacing",
"description": "horizontal padding on micro badges with numbering"
"$type": "spacing",
"$value": "{global.space.micro.XS}",
"$description": "horizontal padding on micro badges with numbering"
},
"M": {
"value": "{global.space.micro.S}",
"type": "spacing",
"description": "horizontal padding on typical badge"
"$type": "spacing",
"$value": "{global.space.micro.S}",
"$description": "horizontal padding on typical badge"
}
},
"y": {
"S": {
"value": "{global.space.micro.XXS}",
"type": "spacing",
"description": "bottom padding on micro badge with number"
"$type": "spacing",
"$value": "{global.space.micro.XXS}",
"$description": "bottom padding on micro badge with number"
},
"M": {
"value": "{global.space.micro.XXS}",
"type": "spacing",
"description": "bottom padding on typical badge"
"$type": "spacing",
"$value": "{global.space.micro.XXS}",
"$description": "bottom padding on typical badge"
}
}
},
"borderwidth": {
"badge": {
"value": "{global.borderwidth.S}",
"type": "borderWidth",
"description": "Badge"
"$type": "borderWidth",
"$value": "{global.borderwidth.S}",
"$description": "Badge"
}
},
"typography": {
"responsive": {
"M": {
"value": "{global.typography.responsive.component.notification.M}",
"type": "typography"
"$type": "typography",
"$value": "{global.typography.responsive.component.notification.M}"
}
},
"adaptive": {
"M": {
"value": "{global.typography.adaptive.component.notification.M}",
"type": "typography"
"$type": "typography",
"$value": "{global.typography.adaptive.component.notification.M}"
}
}
}
Expand Down
Loading

0 comments on commit a0f60d0

Please sign in to comment.