feat: lower opacity for thinking summaries#4610
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR enhances the visual styling of thinking summaries in the TUI by making them more subtle while maintaining color saturation. Instead of blending syntax highlight colors with the background (which washes them out), it now uses transparency (alpha channel set to 100/255, approximately 39% opacity) to achieve a visually subtle appearance.
- Adds a new
generateSubtleSyntaxfunction that creates a subtle variant of syntax highlighting by applying transparency - Updates the
ReasoningPartcomponent to use the new subtle syntax style - Refactors syntax rule generation into a shared
getSyntaxRuleshelper function
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| packages/opencode/src/cli/cmd/tui/context/theme.tsx | Adds generateSubtleSyntax function and getSyntaxRules helper; exports subtleSyntax from theme context |
| packages/opencode/src/cli/cmd/tui/routes/session/index.tsx | Updates ReasoningPart to use subtleSyntax instead of syntax and theme.textMuted for text color |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
remorses
force-pushed
the
feat/subtle-thinking
branch
from
November 21, 2025 21:32
52c0388 to
82aafb5
Compare
remorses
force-pushed
the
feat/subtle-thinking
branch
from
November 21, 2025 21:33
82aafb5 to
ac90da5
Compare
github-actions
Bot
force-pushed
the
dev
branch
from
November 21, 2025 22:37
cc5d9a7 to
48949a6
Compare
1 task
3 tasks
adolago
added a commit
to adolago/zee
that referenced
this pull request
Feb 11, 2026
Phase 1: Upgrade @mariozechner/pi-* packages from 0.49.3 to 0.52.9. Adapts to breaking changes: ToolDefinition.execute signature reorder, removed discoverAuthStorage/discoverModels exports (new pi-model-discovery adapter), systemPrompt moved to session.agent.setSystemPrompt(). Phase 2: Port security and reliability fixes from OpenClaw delta-map. - Sanitize WhatsApp accountId to prevent path traversal (anomalyco#4610) - Normalize WhatsApp JIDs with device suffixes for allowlists (anomalyco#838) - Add recordChannelActivity to sendReaction (#537) - Harden SSH target handling: reject hostnames starting with dash, add "--" separator before userHost args, fix regex bug in sanitizeSshTarget (anomalyco#4001) - Guard resolveUserPath against undefined input (anomalyco#10176) - Update openclaw-delta-map.md: 21 items marked Done Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
xywsxp
pushed a commit
to xywsxp/opencode
that referenced
this pull request
Apr 24, 2026
Rwanbt
pushed a commit
to Rwanbt/opencode
that referenced
this pull request
May 5, 2026
AIALRA-0
pushed a commit
to AIALRA-0/opencode-turn-engine
that referenced
this pull request
Jun 10, 2026
AIALRA-0
pushed a commit
to AIALRA-0/opencode-turn-engine
that referenced
this pull request
Jun 10, 2026
avion23
pushed a commit
to avion23/opencode
that referenced
this pull request
Jun 10, 2026
Rwanbt
pushed a commit
to Rwanbt/opencode
that referenced
this pull request
Jun 14, 2026
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.
Fixes #4542