Allow to customize terminal theme (#4666)

Allow to customize terminal theme, fix #2224
This commit is contained in:
Roman authored and GitHub committed 2022-01-12 17:42:51 +02:00
1 parent 2ee47a442a
commit a5e89b79d6
9 files changed
+106 -65

No files matched your search

@@ -83,6 +83,15 @@ const colorTheme: PreferenceDescription<string> = {
},
};
const terminalTheme: PreferenceDescription<string | undefined> = {
fromStore(val) {
return val || "";
},
toStore(val) {
return val || undefined;
},
};
const localeTimezone: PreferenceDescription<string> = {
fromStore(val) {
return val || moment.tz.guess(true) || "UTC";
@@ -351,6 +360,7 @@ export const DESCRIPTORS = {
httpsProxy,
shell,
colorTheme,
terminalTheme,
localeTimezone,
allowUntrustedCAs,
allowTelemetry,