IOrigamNuxtRuntimeConfig

interface
Nuxt

Shape of the public runtime config exposed by the module on `useRuntimeConfig().public.origam`. The plugins read this at boot to install the theme objects, resolve the active theme/mode, and configure the cookies.

TypeScript

Definition

The TypeScript interface definition as found in the origam source. Click the copy icon to copy the snippet.

typescript

API

Properties

Every property declared by this interface, with its type, optionality and default.

themes
required
IOrigamTheme[]
Installed `IOrigamTheme` objects, in install order. The plugins pass these straight to `createOrigam` (no preset-name resolution — ADR-004). A switcher derives its brand list from `useInstalledThemes()` rather than from this payload.
defaultTheme
required
string
modes
required
string[]
defaultMode
required
string
cookieName
required
string
modeCookieName
required
string
cookieMaxAge
required
number
locale
ILocaleOptions
icons
TNuxtIconOptions