ORIGAM_NUXT_DEFAULT_MODE

const
Nuxt / SSR

Default color mode applied by the Nuxt module when no mode cookie is present. Defaults to "auto" so the OS preference is respected on first visit.

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 default mode in a custom Nuxt plugin

typescript