Skip to main content
zerotal

Documentation


Documentation / @zerotal/flow / index / FlashActionStyle

Interface: FlashActionStyle

Defined in: flow/src/types.ts:159

Constrained, inline styling for a toast action button. Kept to a small, purge-proof set (toasts are built at runtime, so arbitrary Tailwind classes would be stripped) — pick a color, a fill variant, and/or uppercase.

Extended by

Properties

color?

optional color?: string

Defined in: flow/src/types.ts:161

Accent: a level name (success/error/warning/info), neutral, or any CSS color.


variant?

optional variant?: FlashActionVariant

Defined in: flow/src/types.ts:163

Fill style — soft (default), solid, or ghost.


uppercase?

optional uppercase?: boolean

Defined in: flow/src/types.ts:165

Render the label uppercase (adds letter-spacing).