ORIGAM_NUXT_DEFAULT_MODES
const
Nuxt / SSR
Readonly tuple of supported color modes shipped by the Nuxt module by default. Contains "light" and "dark"; additional modes require explicit configuration.
TypeScript
Definition
The TypeScript definition as found in the origam source. Click the copy icon to copy the snippet.
Entries
Values
All entries in this constant. Click a value to copy it to clipboard.
- 'light'
- Light color mode.
- 'dark'
- Dark color mode.
Ecosystem
Used by
Composables and components that consume this constant.
plugin.server (Nuxt)
Usage
Examples
Ready-to-paste code snippets using this constant.
Checking whether a mode is built-in