@adobe/spectrum-tokens
Version:
Design tokens for Spectrum, Adobe's design system
45 lines (44 loc) • 1.09 kB
JSON
{
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/component.json",
"$id": "https://opensource.adobe.com/spectrum-tokens/schemas/components/status-light.json",
"title": "Status light",
"description": "Status lights describe the condition of an entity. They can be used to convey semantic meaning, such as statuses and categories.",
"meta": {
"category": "status",
"documentationUrl": "https://spectrum.adobe.com/page/status-light/"
},
"type": "object",
"properties": {
"label": {
"type": "string"
},
"variant": {
"type": "string",
"enum": [
"informative",
"neutral",
"positive",
"notice",
"negative",
"indigo",
"celery",
"chartreuse",
"yellow",
"magenta",
"fuchsia",
"purple",
"seafoam"
],
"default": "informative"
},
"size": {
"type": "string",
"enum": ["s", "m", "l", "xl"],
"default": "m"
},
"isDisabled": {
"type": "boolean",
"default": false
}
}
}