TIntent
type
Color & Intent
Semantic intent values: neutral, primary, secondary, ghost, success, warning, danger, info.
TypeScript
Definition
The TypeScript definition as found in the origam source. Click the copy icon to copy the snippet.
Accepted
Values
Accepted string literal values for this type. Click a value to copy it.
- neutral
- Neutral / no semantic color — inherits from surface tokens.
- primary
- Primary brand color — maps to --origam-color__action--primary---* tokens.
- secondary
- Secondary accent color — a complementary brand rung.
- ghost
- Transparent / ghost surface — used for low-emphasis actions.
- success
- Positive confirmation intent (green ramp).
- warning
- Caution / attention intent (amber ramp).
- danger
- Destructive / error intent (red ramp).
- info
- Informational intent (blue ramp).
Ecosystem
Used by
Components and props that accept this type as a value.
Usage
Examples
Ready-to-paste code snippets using this type.
Buttons with each intent