From 0b1b7e673b66b7af3a42250c6f0c1bea95921ed7 Mon Sep 17 00:00:00 2001 From: Mike Griese Date: Wed, 31 Aug 2022 13:32:32 -0500 Subject: [PATCH] Update the default themes for 1.16 (#13743) More or less, as in #13554 * Dark theme by default (was `system`) * Justification: > I think the interesting thing that we have today is that the color > scheme is dark by default, but our window theme is set to system. > System theme in Windows 11 is defaulted to light unless changed by > the user. Now, we have a conflict between the theme and color scheme > in Terminal. > > I think our options become, make the color scheme match "default" > and set it to a light color scheme if the system theme is light, or > manually match the theme to the color scheme by setting it to dark. > > Given that Terminal has historically had a black background with > its Campbell color scheme, for a consistent UI experience, I'm > voting to change the window theme to be dark by default as well. * `tab.background: terminalBackground` * Change the tab row colors back to "what they were pre-Controlsv2" more or less - The ramp is based off of "Light tab row background from Edge's unfocused titlebar color, inactive tab row color BG from the controlsv1 colors" * `tabRow.unfocusedBackground` set `Transparent` Closes #13554 --- src/cascadia/TerminalApp/App.xaml | 4 +-- .../TerminalSettingsModel/defaults.json | 26 ++++++++++++++++--- 2 files changed, 24 insertions(+), 6 deletions(-) diff --git a/src/cascadia/TerminalApp/App.xaml b/src/cascadia/TerminalApp/App.xaml index 7dabb689a3c..01b315644cc 100644 --- a/src/cascadia/TerminalApp/App.xaml +++ b/src/cascadia/TerminalApp/App.xaml @@ -149,7 +149,7 @@ See GH #12356 for more history on the subject. --> + Color="#2e2e2e" /> @@ -165,7 +165,7 @@ GH #12398 has more history on this value, as well as GH #12400 --> + Color="#e8e8e8" /> diff --git a/src/cascadia/TerminalSettingsModel/defaults.json b/src/cascadia/TerminalSettingsModel/defaults.json index 02e07a223c3..117248e4d7c 100644 --- a/src/cascadia/TerminalSettingsModel/defaults.json +++ b/src/cascadia/TerminalSettingsModel/defaults.json @@ -26,7 +26,7 @@ // Miscellaneous "confirmCloseAllTabs": true, "startOnUserLogin": false, - "theme": "system", + "theme": "dark", "snapToGridOnResize": true, "disableAnimations": false, "startupActions": "", @@ -283,20 +283,38 @@ "themes": [ { "name": "light", - "window":{ + "window": { "applicationTheme": "light" + }, + "tab": { + "background": "terminalBackground", + "unfocusedBackground": "#00000000" + }, + "tabRow": { + "unfocusedBackground": "#FFFFFFFF" } }, { "name": "dark", - "window":{ + "window": { "applicationTheme": "dark" + }, + "tab": { + "background": "terminalBackground", + "unfocusedBackground": "#00000000" + }, + "tabRow": { + "unfocusedBackground": "#333333FF" } }, { "name": "system", - "window":{ + "window": { "applicationTheme": "system" + }, + "tab": { + "background": "terminalBackground", + "unfocusedBackground": "#00000000" } } ],