Skip to content

Use a dedicated chrome color for the tab bar background - #185

Merged
astex merged 1 commit into
masterfrom
light-theme-tab-bar-surface
Aug 27, 2026
Merged

Use a dedicated chrome color for the tab bar background#185
astex merged 1 commit into
masterfrom
light-theme-tab-bar-surface

Conversation

@astex

@astex astex commented Aug 27, 2026

Copy link
Copy Markdown
Owner

The tab bar and inactive tabs painted themselves with the ANSI black palette entry, which is a dark slab in both themes — correct as a terminal color, wrong as a surface. Under solarized light that left the sidebar dark against the cream terminal pane.

This adds a surface field to TerminalTheme for chrome backgrounds: base02 in dark, which is exactly what black was already giving us so the dark theme is pixel-identical, and base2 in light, one step off the cream bg. The active tab keeps using bg, so it still reads as continuous with the terminal pane in both themes. The ANSI palette itself is untouched — it was already correct for solarized light.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Xfy2d1rVn6KLES1emwQPWJ

The tab bar and inactive tabs painted themselves with the ANSI black
palette entry, which is a dark slab in both themes — correct as a
terminal color, wrong as a surface. Under solarized light it left the
sidebar dark against the cream terminal pane.

Add a `surface` field to TerminalTheme for chrome backgrounds: base02
in dark (identical to what black was giving us, so dark is unchanged)
and base2 in light, one step off the cream bg. The active tab still
uses bg, so it reads as continuous with the terminal pane either way.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Xfy2d1rVn6KLES1emwQPWJ
@astex
astex merged commit c175d3f into master Aug 27, 2026
5 checks passed
@astex
astex deleted the light-theme-tab-bar-surface branch August 27, 2026 19:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant