@cartridge-engine/theme
    Preparing search index...

    Interface ThemeProviderProps

    Props for the ThemeProvider component.

    interface ThemeProviderProps {
        children: ReactNode;
        defaultTheme?: string;
        path?: string;
        themes?: ThemeDefinition[];
    }
    Index
    children: ReactNode

    The app tree rendered inside the provider.

    defaultTheme?: string

    Id of the theme to activate initially. Defaults to the first available.

    path?: string

    Directory path containing {id}.json files.

    themes?: ThemeDefinition[]

    Inline theme definitions (alternative to path).