Skip to content

Commit d36133d

Browse files
jimgqyuDeepSeek
andcommitted
fix: brighten DARK_THEME muted/label/border/shell colors for visibility
muted/sessionLabel/sessionBorder: #CC9B1F → #E5C07B (~60% → ~75% luminance) label: #DAA520 → #F0C040 (brighter goldenrod) border: #CD7F32 → #C9A24B (lighter bronze) shellDollar: #4dabf7 → #64B5F6 (brighter blue) The previous gold/brown palette was technically WCAG AA compliant but appeared dim on some dark terminal profiles, especially Apple_Terminal where ANSI dim is unavailable and muted text rendered at full brightness. Co-Authored-By: DeepSeek <noreply@deepseek.com>
1 parent 06fad42 commit d36133d

1 file changed

Lines changed: 10 additions & 12 deletions

File tree

packages/cli/src/theme.ts

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -277,30 +277,28 @@ export const DARK_THEME: Theme = {
277277
color: {
278278
primary: '#FFD700',
279279
accent: '#FFBF00',
280-
border: '#CD7F32',
280+
border: '#C9A24B',
281281
text: '#FFF8DC',
282-
muted: '#CC9B1F',
283-
// Bumped from the old `#B8860B` darkgoldenrod (~53% luminance) which
284-
// read as barely-visible on dark terminals for long body text. The
285-
// new value sits ~60% luminance — readable without losing the "muted /
286-
// secondary" semantic. Field labels still use `label` (65%) which
287-
// stays brighter so hierarchy holds.
282+
muted: '#E5C07B',
283+
// Brightened from #CC9B1F (~60% luminance) to #E5C07B (~75% luminance)
284+
// so secondary text stays clearly visible across all dark terminal profiles,
285+
// including Apple_Terminal where ANSI dim is unavailable.
288286
completionBg: '#1a1a2e',
289287
completionCurrentBg: '#333355',
290288
completionMetaBg: '#1a1a2e',
291289
completionMetaCurrentBg: '#333355',
292290

293-
label: '#DAA520',
291+
label: '#F0C040',
294292
ok: '#4caf50',
295293
error: '#ef5350',
296294
warn: '#ffa726',
297295

298296
prompt: '#FFF8DC',
299-
// sessionLabel/sessionBorder intentionally track the `dim` value — they
297+
// sessionLabel/sessionBorder intentionally track the muted value — they
300298
// are "same role, same colour" by design. fromSkin's banner_dim fallback
301299
// relies on this pairing (#11300).
302-
sessionLabel: '#CC9B1F',
303-
sessionBorder: '#CC9B1F',
300+
sessionLabel: '#E5C07B',
301+
sessionBorder: '#E5C07B',
304302

305303
statusBg: '#1a1a2e',
306304
statusFg: '#C0C0C0',
@@ -314,7 +312,7 @@ export const DARK_THEME: Theme = {
314312
diffRemoved: 'rgb(255,220,220)',
315313
diffAddedWord: 'rgb(36,138,61)',
316314
diffRemovedWord: 'rgb(207,34,46)',
317-
shellDollar: '#4dabf7'
315+
shellDollar: '#64B5F6'
318316
},
319317

320318
brand: BRAND,

0 commit comments

Comments
 (0)