mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-02-01 19:15:07 +01:00
12 lines
296 B
TypeScript
12 lines
296 B
TypeScript
import { themesSublevel } from "@main/level";
|
|
import { registerEvent } from "../register-event";
|
|
|
|
const getCustomThemeById = async (
|
|
_event: Electron.IpcMainInvokeEvent,
|
|
themeId: string
|
|
) => {
|
|
return themesSublevel.get(themeId);
|
|
};
|
|
|
|
registerEvent("getCustomThemeById", getCustomThemeById);
|