@amsterdam/design-system-tokens
Version:
All design tokens from the Amsterdam Design System. Use it to apply its visual design to your website or application.
252 lines (251 loc) • 6.67 kB
JSON
{
"ams": {
"radio": {
"color": {
"$value": "{ams.color.text.default}",
"$extensions": {
"nl.amsterdam.type": "color"
}
},
"cursor": {
"$value": "{ams.cursor.interactive}",
"$extensions": {
"nl.amsterdam.type": "cursor"
}
},
"font-family": {
"$value": "{ams.typography.font-family}",
"$extensions": {
"nl.amsterdam.type": "fontFamily"
}
},
"font-size": {
"$value": "{ams.typography.body-text.font-size}",
"$extensions": {
"nl.amsterdam.type": "fontSize"
}
},
"font-weight": {
"$value": "{ams.typography.body-text.font-weight}",
"$extensions": {
"nl.amsterdam.type": "fontWeight"
}
},
"gap": {
"$value": "{ams.space.s}",
"$extensions": {
"nl.amsterdam.subtype": "space",
"nl.amsterdam.type": "dimension"
}
},
"line-height": {
"$value": "{ams.typography.body-text.line-height}",
"$extensions": {
"nl.amsterdam.subtype": "lineHeight",
"nl.amsterdam.type": "number"
}
},
"outline-offset": {
"$value": "{ams.focus.outline-offset}",
"$extensions": {
"nl.amsterdam.subtype": "space",
"nl.amsterdam.type": "dimension"
}
},
"text-decoration-thickness": {
"$value": "{ams.links.text-decoration-thickness}",
"$extensions": {
"nl.amsterdam.subtype": "space",
"nl.amsterdam.type": "dimension"
}
},
"text-underline-offset": {
"$value": "{ams.links.text-underline-offset}",
"$extensions": {
"nl.amsterdam.subtype": "space",
"nl.amsterdam.type": "dimension"
}
},
"checked-indicator": {
"fill": {
"$value": "{ams.color.interactive.default}",
"$extensions": {
"nl.amsterdam.type": "color"
}
},
"disabled": {
"fill": {
"$value": "{ams.color.interactive.disabled}",
"$extensions": {
"nl.amsterdam.type": "color"
}
}
},
"disabled-invalid": {
"fill": {
"$value": "{ams.color.interactive.disabled}",
"$extensions": {
"nl.amsterdam.type": "color"
}
},
"hover": {
"fill": {
"$value": "{ams.color.interactive.disabled}",
"$extensions": {
"nl.amsterdam.type": "color"
}
}
}
},
"hover": {
"fill": {
"$value": "{ams.color.interactive.hover}",
"$extensions": {
"nl.amsterdam.type": "color"
}
}
},
"invalid": {
"fill": {
"$value": "{ams.color.interactive.invalid.default}",
"$extensions": {
"nl.amsterdam.type": "color"
}
},
"hover": {
"fill": {
"$value": "{ams.color.interactive.invalid.hover}",
"$extensions": {
"nl.amsterdam.type": "color"
}
}
}
}
},
"hover-indicator": {
"hover": {
"stroke": {
"$value": "{ams.color.interactive.hover}",
"$extensions": {
"nl.amsterdam.type": "color"
}
}
},
"invalid": {
"hover": {
"stroke": {
"$value": "{ams.color.interactive.invalid.hover}",
"$extensions": {
"nl.amsterdam.type": "color"
}
}
}
}
},
"circle": {
"fill": {
"$value": "{ams.color.background.default}",
"$extensions": {
"nl.amsterdam.type": "color"
}
},
"stroke": {
"$value": "{ams.color.interactive.default}",
"$extensions": {
"nl.amsterdam.type": "color"
}
},
"disabled": {
"stroke": {
"$value": "{ams.color.interactive.disabled}",
"$extensions": {
"nl.amsterdam.type": "color"
}
}
},
"disabled-invalid": {
"stroke": {
"$value": "{ams.color.interactive.disabled}",
"$extensions": {
"nl.amsterdam.type": "color"
}
},
"hover": {
"stroke": {
"$value": "{ams.color.interactive.disabled}",
"$extensions": {
"nl.amsterdam.type": "color"
}
}
}
},
"hover": {
"stroke": {
"$value": "{ams.color.interactive.hover}",
"$extensions": {
"nl.amsterdam.type": "color"
}
}
},
"invalid": {
"stroke": {
"$value": "{ams.color.interactive.invalid.default}",
"$extensions": {
"nl.amsterdam.type": "color"
}
},
"hover": {
"stroke": {
"$value": "{ams.color.interactive.invalid.hover}",
"$extensions": {
"nl.amsterdam.type": "color"
}
}
}
}
},
"disabled": {
"color": {
"$value": "{ams.color.interactive.disabled}",
"$extensions": {
"nl.amsterdam.type": "color"
}
},
"cursor": {
"$value": "{ams.cursor.disabled}",
"$extensions": {
"nl.amsterdam.type": "cursor"
}
}
},
"hover": {
"color": {
"$value": "{ams.color.interactive.hover}",
"$extensions": {
"nl.amsterdam.type": "color"
}
},
"text-decoration-line": {
"$value": "{ams.links.subtle.hover.text-decoration-line}",
"$extensions": {
"nl.amsterdam.type": "textDecorationLine"
}
}
},
"icon-container": {
"block-size": {
"$value": "calc({ams.radio.font-size} * {ams.radio.line-height})",
"$extensions": {
"nl.amsterdam.type": "dimension"
}
},
"inline-size": {
"$value": "{ams.radio.font-size}",
"$extensions": {
"nl.amsterdam.type": "dimension"
}
}
}
}
}
}