@adobe/spectrum-tokens
Version:
Design tokens for Spectrum, Adobe's design system
26 lines (25 loc) • 795 B
JSON
{
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/component.json",
"$id": "https://opensource.adobe.com/spectrum-tokens/schemas/components/in-line-alert.json",
"title": "In-line alert",
"description": "In-line alerts display a non-modal message associated with objects in a view. These are often used in form validation, providing a place to aggregate feedback related to multiple fields.",
"meta": {
"category": "feedback",
"documentationUrl": "https://spectrum.adobe.com/page/in-line-alert/"
},
"type": "object",
"properties": {
"variant": {
"type": "string",
"enum": [
"neutral",
"informative",
"positive",
"notice",
"negative",
"neutral"
],
"default": "neutral"
}
}
}