opsinjs

ContrastUse

What a pair is being used for.

How this is generated

Source: lib/color/apca.ts. Script: scripts/build-reference.mts. Command: pnpm run generate.

Everything below is copied from the symbol, so a page is improved by improving its doc comment. The API index says why there is a page per symbol and what these pages still do not carry.

ContrastUse

What a pair is being used for. Determines which floor applies.

KindDeclared in
typelib/color/apca.ts
export type ContrastUse = "body" | "large" | "nonText"

On this page