Nextjs Themes
    Preparing search index...

    Interface UseThemeYield

    interface UseThemeYield {
        colorSchemePref: ColorSchemeType;
        darkTheme: string;
        lightTheme: string;
        resolvedColorScheme: ResolvedColorSchemeType;
        resolvedTheme: string;
        setColorSchemePref: (colorSchemePref: ColorSchemeType) => void;
        setDarkTheme: (darkTheme: string) => void;
        setForcedColorScheme: (forcedColorScheme: ColorSchemeType) => void;
        setForcedTheme: (forcedTheme: string) => void;
        setLightTheme: (lightTheme: string) => void;
        setTheme: (theme: string) => void;
        setThemeSet: (themeSet: { darkTheme: string; lightTheme: string }) => void;
        systemColorScheme: ResolvedColorSchemeType;
        theme: string;
        toggleColorScheme: (skipSystem?: boolean) => void;
    }
    Index

    Properties

    colorSchemePref: ColorSchemeType
    darkTheme: string
    lightTheme: string
    resolvedColorScheme: ResolvedColorSchemeType
    resolvedTheme: string
    setColorSchemePref: (colorSchemePref: ColorSchemeType) => void
    setDarkTheme: (darkTheme: string) => void
    setForcedColorScheme: (forcedColorScheme: ColorSchemeType) => void
    setForcedTheme: (forcedTheme: string) => void
    setLightTheme: (lightTheme: string) => void
    setTheme: (theme: string) => void

    actions

    setThemeSet: (themeSet: { darkTheme: string; lightTheme: string }) => void
    systemColorScheme: ResolvedColorSchemeType
    theme: string
    toggleColorScheme: (skipSystem?: boolean) => void