Add custom themes

This commit is contained in:
Geomitron
2024-07-11 23:10:34 -05:00
parent 2e08dec589
commit cb6e51be24
12 changed files with 347 additions and 37 deletions

View File

@@ -3,6 +3,7 @@ import { UpdateInfo } from 'electron-updater'
import { Settings } from '../Settings.js'
import { Download, DownloadProgress } from './download.interface.js'
import { ThemeColors } from './theme.interface.js'
import { UpdateProgress } from './update.interface.js'
export interface ContextBridgeApi {
@@ -45,6 +46,10 @@ export interface IpcInvokeEvents {
input: OpenDialogOptions
output: OpenDialogReturnValue
}
getThemeColors: {
input: string
output: ThemeColors | null
}
}
export type IpcInvokeHandlers = {