mirror of
https://github.com/pavlobu/deskreen.git
synced 2025-05-16 15:30:20 -07:00
8 lines
264 B
TypeScript
8 lines
264 B
TypeScript
import { ipcRenderer } from 'electron';
|
|
import { IpcEvents } from '../main/IpcEvents.enum';
|
|
|
|
export default async function getAppTheme(): Promise<boolean> {
|
|
const isAppDarkTheme = await ipcRenderer.invoke(IpcEvents.GetIsAppDarkTheme);
|
|
return isAppDarkTheme;
|
|
}
|