TColor

type
Color & Intent

Accepted value for color/bgColor/textColor props — intent name, raw CSS color, gradient string or structured gradient object.

TypeScript

Definition

The TypeScript definition as found in the origam source. Click the copy icon to copy the snippet.

typescript

Accepted

Values

Accepted string literal values for this type. Click a value to copy it.

string
false
IGradient

Ecosystem

Used by

Components and props that accept this type as a value.

Usage

Examples

Ready-to-paste code snippets using this type.

Using a semantic intent

html

Using a raw CSS color

html