opsinjs

WarningLevel

How serious a derivation warning is.

How this is generated

Source: lib/color/derive.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.

WarningLevel

How serious a derivation warning is. An error makes the theme unsound and stops it shipping, while a warning and a note are advisory.

KindDeclared in
typelib/color/derive.ts
export type WarningLevel = "error" | "warning" | "note"

On this page