import Store from 'electron-store' ; import { darkMode } from 'electron-util' ; import { ThemeId } from '@main/theme/theme-service' ; todo export type NoteworthySettings = { theme : ThemeId ; } ; export const Settings = new Store < NoteworthySettings > ( { name : '.noteworthy' , defaults : { theme : { type : "default" , id : "default-light" } } } ) ;