aboutsummaryrefslogtreecommitdiff
path: root/src/VencordNative.ts
diff options
context:
space:
mode:
authorV <vendicated@riseup.net>2023-09-25 18:53:10 +0200
committerV <vendicated@riseup.net>2023-09-25 18:53:10 +0200
commitae6584da7c38fd0f3414e3cb650b35a9a9b831be (patch)
treecb44b6a69e44a121b573fea9ba4a72876e918732 /src/VencordNative.ts
parentc6b1b9463ced6953bc7ba17fd26f9e463fb0b010 (diff)
downloadVencord-ae6584da7c38fd0f3414e3cb650b35a9a9b831be.tar.gz
Vencord-ae6584da7c38fd0f3414e3cb650b35a9a9b831be.tar.bz2
Vencord-ae6584da7c38fd0f3414e3cb650b35a9a9b831be.zip
add os-accent-color variable (following BetterDiscord)
Diffstat (limited to 'src/VencordNative.ts')
-rw-r--r--src/VencordNative.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/VencordNative.ts b/src/VencordNative.ts
index 4f8638b..dd97b5d 100644
--- a/src/VencordNative.ts
+++ b/src/VencordNative.ts
@@ -23,7 +23,8 @@ export default {
deleteTheme: (fileName: string) => invoke<void>(IpcEvents.DELETE_THEME, fileName),
getThemesDir: () => invoke<string>(IpcEvents.GET_THEMES_DIR),
getThemesList: () => invoke<Array<UserThemeHeader>>(IpcEvents.GET_THEMES_LIST),
- getThemeData: (fileName: string) => invoke<string | undefined>(IpcEvents.GET_THEME_DATA, fileName)
+ getThemeData: (fileName: string) => invoke<string | undefined>(IpcEvents.GET_THEME_DATA, fileName),
+ getSystemValues: () => invoke<Record<string, string>>(IpcEvents.GET_THEME_SYSTEM_VALUES),
},
updater: {