@adobe/spectrum-tokens
Version:
Design tokens for Spectrum, Adobe's design system
22 lines (21 loc) • 722 B
JSON
{
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/component.json",
"$id": "https://opensource.adobe.com/spectrum-tokens/schemas/components/code.json",
"title": "Code",
"description": "Detail is a typography component used for disclosing extra information or smaller items in hierarchical relationships of text.",
"meta": {
"category": "typography",
"documentationUrl": "https://spectrum.adobe.com/page/code/"
},
"type": "object",
"properties": {
"script": {
"$ref": "https://opensource.adobe.com/spectrum-tokens/schemas/types/typography-script.json"
},
"size": {
"type": "string",
"enum": ["xs", "s", "m", "l", "xl"],
"default": "m"
}
}
}