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
+14
View File
@@ -170,6 +170,20 @@
"markdownDescription": "The color theme for the UI. See the CLI themes guide for available options.\n\n- Category: `UI`\n- Requires restart: `no`",
"type": "string"
},
"autoThemeSwitching": {
"title": "Auto Theme Switching",
"description": "Automatically switch between default light and dark themes based on terminal background color.",
"markdownDescription": "Automatically switch between default light and dark themes based on terminal background color.\n\n- Category: `UI`\n- Requires restart: `no`\n- Default: `true`",
"default": true,
"type": "boolean"
},
"terminalBackgroundPollingInterval": {
"title": "Terminal Background Polling Interval",
"description": "Interval in seconds to poll the terminal background color.",
"markdownDescription": "Interval in seconds to poll the terminal background color.\n\n- Category: `UI`\n- Requires restart: `no`\n- Default: `60`",
"default": 60,
"type": "number"
},
"customThemes": {
"title": "Custom Themes",
"description": "Custom theme definitions.",