ui: consistent minimal palette — shared level tones, neutral JSON blocks#76
Merged
Conversation
- lib/log-levels.ts: single levelTone() used by Timeline AND CitedChunks (they previously disagreed — Timeline coloured levels, CitedChunks didn't) - palette reduced to signal-only: ERROR/FATAL -> theme destructive, WARN -> one amber accent, INFO and everything else neutral (INFO is most rows; colouring it was noise) - investigation steps: replace hardcoded vscDarkPlus rainbow JSON (dark theme regardless of mode) with a neutral <pre> matching CitedChunks' raw-text styling; align tool/observation containers to rounded-lg
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
VarunGitGood
added a commit
that referenced
this pull request
Jun 14, 2026
ui: consistent minimal palette — shared level tones, neutral JSON blocks
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.
Summary
Consistency pass over the chat surface — one palette, colour only where it carries signal.
levelTone()(web/lib/log-levels.ts) used by both Timeline and CitedChunks. They previously disagreed: Timeline coloured level badges, CitedChunks rendered the same badge neutral.destructive; WARN → a single amber accent; INFO and everything else → neutral. INFO is the overwhelming majority of rows — colouring it blue was pure noise.vscDarkPlussyntax theme (a full VS Code dark rainbow rendered regardless of light/dark mode) with a neutral<pre>that matches CitedChunks' raw-text styling. The docs page keeps its theme-aware highlighter — it was already correct.rounded-mdtorounded-lgto match the other panels.Test plan
npx tsc --noEmitcleanuv run pytest tests/ -q— 208 passed