REV_TXT

const
Color & A11y

APCA reverse (white-on-dark) text soft-clamp exponent (0.57). Applied in the APCA contrast algorithm to the light foreground luminance when computing contrast against a dark background.

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.

Using the reverse-text exponent in the APCA pipeline

typescript