Repository navigation
fix(terminal): one flat surface, no lighter ring around the pane - #233
Merged
Merged
Conversation
JeffreyJYZ
approved these changes
Nov 22, 2026
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The terminal pane read as a rectangle with a lighter ring around it. Two causes, and the second is why a CSS-only fix would have looked done and changed nothing:
--panelwhile the xterm body setbackground: var(--bg), so two shades met at the seam;.xterm-viewport— a third shade, written from JS, that no stylesheet rule could override.The terminal body, host, screen and viewport now paint
--panel, the chrome and status seams are gone, andxtermTheme()reads--paneloff the document and overrides only that one palette field. Palette values and the global tokens are untouched.Side-docked variants already read
--panel, and there is no separate exited layer here —.tab.exitedis opacity only, so no second shade was reintroduced.New
flatSurface.test.tspins it: no--bgin the terminal sheets, no chrome/status border, every layer and the side variant on--panel, and the theme's background equal to the token. Red-then-green,bun test1442 pass, gate 11/11, unstyled-classes 0.The visual result needs a launch, which I did not do.