REV_BG

const
Color & A11y

APCA reverse (white-on-dark) background soft-clamp threshold (0.62). Applied in the APCA contrast algorithm when a dark background is paired with a light foreground to normalise the perceptual contrast score.

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-background threshold in the APCA pipeline

typescript