• Sets the explicit theme and/or theme variant.

    Parameters

    • payload: string | { theme?: string; themeVariant?: string }

      If a string, sets the theme ('light' or 'dark') for backwards compatibility

      • If an object, can set both theme and themeVariant

    Returns void