feat(cli): implement automatic theme switching based on terminal background (#17976)

Co-authored-by: Jacob Richman <jacob314@gmail.com>
This commit is contained in:
Abhijit Balaji
2026-02-02 16:39:17 -08:00
committed by GitHub
parent f57fd642df
commit 4e4a55be35
18 changed files with 807 additions and 93 deletions

View File

@@ -31,8 +31,8 @@ exports[`SettingsDialog > Initial Rendering > should render settings list with v
│ Output Format Text │
│ The format of the CLI output. Can be \`text\` or \`json\`. │
│ │
Hide Window Title false │
Hide the window title bar
Auto Theme Switching true │
Automatically switch between default light and dark themes based on terminal backgro…
│ │
│ ▼ │
│ │
@@ -77,8 +77,8 @@ exports[`SettingsDialog > Snapshot Tests > should render 'accessibility settings
│ Output Format Text │
│ The format of the CLI output. Can be \`text\` or \`json\`. │
│ │
Hide Window Title false │
Hide the window title bar
Auto Theme Switching true │
Automatically switch between default light and dark themes based on terminal backgro…
│ │
│ ▼ │
│ │
@@ -123,8 +123,8 @@ exports[`SettingsDialog > Snapshot Tests > should render 'all boolean settings d
│ Output Format Text │
│ The format of the CLI output. Can be \`text\` or \`json\`. │
│ │
Hide Window Title false*
Hide the window title bar
Auto Theme Switching true
Automatically switch between default light and dark themes based on terminal backgro…
│ │
│ ▼ │
│ │
@@ -169,8 +169,8 @@ exports[`SettingsDialog > Snapshot Tests > should render 'default state' correct
│ Output Format Text │
│ The format of the CLI output. Can be \`text\` or \`json\`. │
│ │
Hide Window Title false │
Hide the window title bar
Auto Theme Switching true │
Automatically switch between default light and dark themes based on terminal backgro…
│ │
│ ▼ │
│ │
@@ -215,8 +215,8 @@ exports[`SettingsDialog > Snapshot Tests > should render 'file filtering setting
│ Output Format Text │
│ The format of the CLI output. Can be \`text\` or \`json\`. │
│ │
Hide Window Title false │
Hide the window title bar
Auto Theme Switching true │
Automatically switch between default light and dark themes based on terminal backgro…
│ │
│ ▼ │
│ │
@@ -261,8 +261,8 @@ exports[`SettingsDialog > Snapshot Tests > should render 'focused on scope selec
│ Output Format Text │
│ The format of the CLI output. Can be \`text\` or \`json\`. │
│ │
Hide Window Title false │
Hide the window title bar
Auto Theme Switching true │
Automatically switch between default light and dark themes based on terminal backgro…
│ │
│ ▼ │
│ │
@@ -307,8 +307,8 @@ exports[`SettingsDialog > Snapshot Tests > should render 'mixed boolean and numb
│ Output Format Text │
│ The format of the CLI output. Can be \`text\` or \`json\`. │
│ │
Hide Window Title false*
Hide the window title bar
Auto Theme Switching true
Automatically switch between default light and dark themes based on terminal backgro…
│ │
│ ▼ │
│ │
@@ -353,8 +353,8 @@ exports[`SettingsDialog > Snapshot Tests > should render 'tools and security set
│ Output Format Text │
│ The format of the CLI output. Can be \`text\` or \`json\`. │
│ │
Hide Window Title false │
Hide the window title bar
Auto Theme Switching true │
Automatically switch between default light and dark themes based on terminal backgro…
│ │
│ ▼ │
│ │
@@ -399,8 +399,8 @@ exports[`SettingsDialog > Snapshot Tests > should render 'various boolean settin
│ Output Format Text │
│ The format of the CLI output. Can be \`text\` or \`json\`. │
│ │
Hide Window Title true*
Hide the window title bar
Auto Theme Switching true │
Automatically switch between default light and dark themes based on terminal backgro…
│ │
│ ▼ │
│ │