Allow to customize terminal theme (#4666) (#4690)

Allow to customize terminal theme, fix #2224

(cherry picked from commit a5e89b79d6)
This commit is contained in:
Roman authored and GitHub committed 2022-01-18 18:16:50 +02:00
1 parent 3d87d67165
commit e862d5bf1d
9 files changed
+106 -65

No files matched your search

@@ -67,6 +67,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";
@@ -335,6 +344,7 @@ export const DESCRIPTORS = {
httpsProxy,
shell,
colorTheme,
terminalTheme,
localeTimezone,
allowUntrustedCAs,
allowTelemetry,