import { ThemingService } from "@bitwarden/angular/platform/services/theming/theming.service"; import { ThemeType } from "@bitwarden/common/platform/enums"; export class DesktopThemingService extends ThemingService { protected async getSystemTheme(): Promise { return await ipc.platform.getSystemTheme(); } protected monitorSystemThemeChanges(): void { ipc.platform.onSystemThemeUpdated((theme: ThemeType) => this.updateSystemTheme(theme)); } }