COLOR_ACTIVE_MIX_PCT

const
Color

Percentage of black mixed into the rest-state background color to produce the active (pressed) state. Used as a math-fallback when the designer-tuned bgActive token is absent.

TypeScript

Definition

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

typescript

Resolved value

Ecosystem

Used by

Composables and components that consume this constant.

Usage

Examples

Ready-to-paste code snippets using this constant.

Computing the active darken mix manually

typescript