Skip to content

Conversation

@remorses
Copy link
Contributor

@remorses remorses commented Nov 21, 2025

Fixes #4542

Screenshot 2025-11-21 at 22 28 17 Screenshot 2025-11-21 at 22 36 04

Copilot AI review requested due to automatic review settings November 21, 2025 21:30
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 generateSubtleSyntax function that creates a subtle variant of syntax highlighting by applying transparency
  • Updates the ReasoningPart component to use the new subtle syntax style
  • Refactors syntax rule generation into a shared getSyntaxRules helper 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 remorses force-pushed the feat/subtle-thinking branch from 52c0388 to 82aafb5 Compare November 21, 2025 21:32
@remorses remorses force-pushed the feat/subtle-thinking branch from 82aafb5 to ac90da5 Compare November 21, 2025 21:33
@remorses remorses changed the title feat: subtle thinking summaries feat: lower opacity for thinking summaries Nov 21, 2025
@rekram1-node rekram1-node merged commit 1d7a930 into sst:dev Nov 21, 2025
3 checks passed
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.

[FEATURE]: Decrease opacity of thinking summaries

2 participants