@@ -127,6 +127,85 @@ Configuration for MCP (Model Context Protocol) servers. The value is a key-value
127127
128128For detailed MCP usage instructions, refer to [ mcp.md] ( mcp.md ) .
129129
130+ #### ` theme ` — Theme Configuration
131+
132+ Deep Code supports customizing theme colors to make your terminal interface match your personal preferences.
133+
134+ ** Using Preset Themes**
135+
136+ ``` json
137+ {
138+ "theme" : {
139+ "preset" : " dark"
140+ }
141+ }
142+ ```
143+
144+ Available preset themes:
145+
146+ | Preset Name | Description |
147+ | --------------- | ---------------------------------------- |
148+ | ` light ` | Light theme (default, optimized for light backgrounds) |
149+ | ` dark ` | Dark theme (optimized for dark backgrounds) |
150+ | ` github-light ` | GitHub Light style theme |
151+ | ` github-dark ` | GitHub Dark style theme |
152+ | ` gitlab-light ` | GitLab Light style theme |
153+ | ` gitlab-dark ` | GitLab Dark style theme |
154+ | ` monokai ` | Monokai-style theme |
155+ | ` dracula ` | Dracula-style theme |
156+
157+ ** Custom Theme Colors**
158+
159+ Use ` preset: "custom" ` with ` overrides ` to customize specific colors:
160+
161+ ``` json
162+ {
163+ "theme" : {
164+ "preset" : " custom" ,
165+ "overrides" : {
166+ "primary" : " #ff6600" ,
167+ "success" : " greenBright"
168+ }
169+ }
170+ }
171+ ```
172+
173+ ** Available Color Tokens**
174+
175+ | Token | Description | Default Value |
176+ | ------------ | ------------------------------------------------ | ------------- |
177+ | ` primary ` | Brand color: logo, user messages, selected items, headings | ` #229ac3 ` |
178+ | ` secondary ` | Auxiliary brand color: borders, gradients | ` #229ac3e6 ` |
179+ | ` success ` | Success: tool execution success, low-risk ops | ` #1a7f37 ` |
180+ | ` error ` | Error: tool execution failure, high-risk ops | ` #d1242f ` |
181+ | ` warning ` | Warning: in-progress state, mid-risk ops | ` #fa8c16 ` |
182+ | ` info ` | Info: skills, image attachments | ` #0969da ` |
183+ | ` text ` | Main text color | ` #3D4149 ` |
184+ | ` textDim ` | Secondary text: dimmed hints, quote blocks | ` #646A71 ` |
185+ | ` textBright ` | Bright text: emphasized hints | ` #1F2329 ` |
186+ | ` code ` | Code blocks / inline code | ` #787f8a ` |
187+ | ` border ` | Borders | ` #999 ` |
188+ | ` gradients ` | Logo gradient color array | ` ["#229ac3", "#8250df"] ` |
189+
190+ Color values support the following formats:
191+ - Hex format: ` "#ff6600" ` , ` "#ff6600cc" ` (with alpha)
192+ - Chalk named colors: ` "greenBright" ` , ` "cyanBright" ` , ` "red" ` , etc.
193+
194+ ** Runtime Theme Switching**
195+
196+ Use the ` /theme ` command in the CLI to quickly switch preset themes:
197+
198+ ```
199+ /theme # Show theme picker
200+ /theme dark # Switch to dark theme
201+ /theme light # Switch back to light theme
202+ /theme github-dark # Switch to GitHub Dark theme
203+ /theme gitlab-light # Switch to GitLab Light theme
204+ /theme monokai # Switch to Monokai theme
205+ ```
206+
207+ The switch is automatically saved to ` settings.json ` and will take effect on the next launch.
208+
130209#### ` debugLogEnabled ` — Debug Log
131210
132211Set to ` true ` to enable detailed debug logging (default ` false ` ), useful for troubleshooting API calls and tool execution.
0 commit comments