ORIGAM_THEME_AUTO

const
Theme

Sentinel value for the automatic theme mode. When the active theme is set to "auto", Origam follows the OS prefers-color-scheme preference instead of an explicit theme name.

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.

Resetting to auto OS-preference mode

typescript