ORIGAM_MODE_STORAGE_KEY

const
Theme & Mode

localStorage / cookie key under which the user-selected color mode is persisted across page loads.

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.

Reading the persisted mode manually

typescript