13 lines
373 B
TypeScript
13 lines
373 B
TypeScript
import { Observable } from "rxjs";
|
|
|
|
import { ThemeType } from "@bitwarden/common/enums/themeType";
|
|
|
|
import { Theme } from "./theme";
|
|
|
|
export abstract class AbstractThemingService {
|
|
theme$: Observable<Theme>;
|
|
monitorThemeChanges: () => Promise<void>;
|
|
updateSystemTheme: (systemTheme: ThemeType) => void;
|
|
updateConfiguredTheme: (theme: ThemeType) => Promise<void>;
|
|
}
|