ORIGAM_THEME_DARK

const
Theme

Name of the built-in dark theme. Pass this value to useTheme().setTheme() or to the data-theme attribute to switch the entire app to dark mode.

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.

Switching the app to dark theme

typescript