vira - v33.8.0
    Preparing search index...

    Variable ViraThemeSwitcherConst

    ViraThemeSwitcher: DeclarativeElementDefinition<
        "vira-theme-switcher",
        PartialWithUndefined<
            {
                labels: Readonly<Record<ViraThemeSelection, string>>;
                themeClient: Readonly<ViraThemeSwitcherClient>;
            },
        >,
        {
            currentTheme: ViraThemeSelection;
            internalThemeClient: Readonly<ViraThemeSwitcherClient>
            | undefined;
        },
        { themeSelect: DefineElementEvent<ViraThemeSelection> },
        "vira-theme-switcher-",
        "vira-theme-switcher-",
        readonly [],
        readonly [],
    > = ...

    A row of buttons for selecting a ViraThemeSelection (light, dark, or auto). Clicking a button calls setSelectedTheme on the themeClient input (or on an internal ViraThemeClient when none is given), which applies the theme, then fires a themeSelect event with the selection.