mirror of
https://github.com/bitwarden/browser
synced 2025-12-19 17:53:39 +00:00
Assign ownership to many of the remaining libs/common files. Criteria for ownership: * Files used by a single team, is now owned by that team. * Files related to a domain owned by a team is now owned by that team. * Where ownership is unclear the "lowest level" service takes ownership.
13 lines
372 B
TypeScript
13 lines
372 B
TypeScript
import { Observable } from "rxjs";
|
|
|
|
import { ThemeType } from "@bitwarden/common/platform/enums";
|
|
|
|
import { Theme } from "./theme";
|
|
|
|
export abstract class AbstractThemingService {
|
|
theme$: Observable<Theme>;
|
|
monitorThemeChanges: () => Promise<void>;
|
|
updateSystemTheme: (systemTheme: ThemeType) => void;
|
|
updateConfiguredTheme: (theme: ThemeType) => Promise<void>;
|
|
}
|