@alauda/ui
Version:
Angular UI components by Alauda Frontend Team.
16 lines (15 loc) • 547 B
TypeScript
import { Theme, ThemeMode } from './theme.types';
import * as i0 from "@angular/core";
export declare class ThemeService {
private readonly htmlEl;
private browserTheme;
private themeMode;
private readonly currentAppTheme$$;
readonly currentTheme$: import("rxjs").Observable<Theme>;
constructor();
setThemeMode(mode: ThemeMode): void;
currentTheme(): Theme;
private themeChanged;
static ɵfac: i0.ɵɵFactoryDeclaration<ThemeService, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<ThemeService>;
}