Skip to content

fix(tui): raise neutral permission backgrounds#37513

Merged
jlongster merged 1 commit into
v2from
permission-bar
Jul 17, 2026
Merged

fix(tui): raise neutral permission backgrounds#37513
jlongster merged 1 commit into
v2from
permission-bar

Conversation

@jlongster

@jlongster jlongster commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add a mode-aware themeV2.raise(color) utility alongside increase and decrease
  • replace duplicated light/dark color-step logic across session and prompt surfaces
  • raise permission action footers from their contextual neutral background instead of using the focused interactive color

Verification

  • bun typecheck in packages/tui
  • bun test test/theme/v2/component.test.ts in packages/tui
  • reproduced the permission prompt with opencode-drive; the footer is neutral and only the selected action retains the interactive highlight

@jlongster

Copy link
Copy Markdown
Contributor Author

Verified on the PR branch with OpenCode Drive. The permission footer now uses the raised neutral background, while the selected action retains the interactive highlight.

Permission prompt with raised neutral footer

@jlongster
jlongster merged commit bd79e24 into v2 Jul 17, 2026
11 checks passed
@jlongster
jlongster deleted the permission-bar branch July 17, 2026 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant