ORIGAM_MODE_DARK

const
Theme & Mode

Literal value for the dark color mode. Passed to setMode() or written to the data-mode attribute to force dark rendering regardless of system preference.

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.

Forcing dark mode

typescript