@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.
47 lines (46 loc) • 1.77 kB
JSON
{
"ams": {
"ordered-list": {
"color": { "value": "{ams.color.text.default}" },
"font-family": { "value": "{ams.typography.font-family}" },
"font-size": { "value": "{ams.typography.body-text.font-size}" },
"font-weight": { "value": "{ams.typography.body-text.font-weight}" },
"gap": { "value": "{ams.space.m}" },
"line-height": { "value": "{ams.typography.body-text.line-height}" },
"list-style-type": { "value": "decimal" },
"small": {
"font-size": { "value": "{ams.typography.body-text.small.font-size}" },
"line-height": { "value": "{ams.typography.body-text.small.line-height}" }
},
"inverse": {
"color": { "value": "{ams.color.text.inverse}" }
},
"item": {
"margin-inline-start": {
"value": "2.25rem",
"comment": "Divide your total indentation width over margin and padding to position the marker."
},
"padding-inline-start": {
"value": "0.25rem",
"comment": "The total level 1 indentation for Amsterdam is 40 pixels, or 2.5rem."
}
},
"ordered-list": {
"gap": { "value": "{ams.space.s}" },
"list-style-type": { "value": "lower-alpha" },
"padding-block-end": { "value": "0" },
"padding-block-start": { "value": "{ams.space.s}" },
"item": {
"margin-inline-start": {
"value": "1.5rem",
"comment": "Indent less than the parent to start-align the child’s marker with the parent text."
},
"padding-inline-start": {
"value": "0.25rem",
"comment": "The total level >=2 indentation for Amsterdam is 28 pixels, or 1.75rem."
}
}
}
}
}
}