@taiga-ui/addon-doc
Version:
Taiga UI based library for developing documentation portals for Angular libraries.
18 lines (17 loc) • 843 B
TypeScript
import type { FactoryProvider } from '@angular/core';
import { InjectionToken } from '@angular/core';
import * as i0 from "@angular/core";
export declare const TUI_THEME_KEY: InjectionToken<string>;
export declare const TUI_THEMES: InjectionToken<Record<string, string>>;
export declare function tuiDocThemeProvider(): FactoryProvider;
export declare class TuiDocThemeSwitcher {
private readonly storage;
private readonly key;
private readonly location;
protected readonly theme: string;
protected readonly themes: Record<string, string>;
protected readonly keys: string[];
onTheme(theme: string): void;
static ɵfac: i0.ɵɵFactoryDeclaration<TuiDocThemeSwitcher, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<TuiDocThemeSwitcher, "tui-doc-theme-switcher", never, {}, {}, never, ["*"], true, never>;
}