Skip to content

Wire Forge Midnight/Daylight semantic tokens through TUI components - #109

Merged
github-actions[bot] merged 2 commits into
mainfrom
theme/semantic-component-mapping
Aug 1, 2026
Merged

github-actions[bot] merged 2 commits into
mainfrom
theme/semantic-component-mapping

Conversation

@mohitranka

Copy link
Copy Markdown
Contributor

Summary

  • Add semantic component helpers in theme.rs (active/inactive panels, tabs, file selection, composer, status bar, code blocks, error callouts, disabled actions)
  • Apply the Forge Midnight/Daylight mapping across explorer, sidebar, bottom panel, composer, status bar, conversation, and source viewer
  • Align syntax highlighting with the new accent/agent/warning/info palette and fix the light-theme cursor token

Test plan

  • cargo test --package forge-tui --package forge-syntax
  • cargo clippy --package forge-tui --package forge-syntax -- -D warnings
  • Toggle dark/light themes in the TUI and verify panel borders, tabs, file selection, composer focus, agent messages, and code blocks
  • Confirm modified git files show warning color and working agent status uses purple in the status bar

Components now use role-based theme helpers (panels, tabs, composer, file selection, code blocks, and agent progress) so styling stays consistent across dark and light palettes without raw color references.
@github-actions
github-actions Bot enabled auto-merge (squash) August 1, 2026 09:02
@github-actions
github-actions Bot merged commit 293e863 into main Aug 1, 2026
6 checks passed
mohitranka added a commit that referenced this pull request Aug 21, 2026
…109)

* Wire Forge Midnight/Daylight semantic tokens through TUI components.

Components now use role-based theme helpers (panels, tabs, composer, file selection, code blocks, and agent progress) so styling stays consistent across dark and light palettes without raw color references.

* Fix formatting in conversation code block push helper.
mohitranka added a commit that referenced this pull request Sep 11, 2026
…109)

* Wire Forge Midnight/Daylight semantic tokens through TUI components.

Components now use role-based theme helpers (panels, tabs, composer, file selection, code blocks, and agent progress) so styling stays consistent across dark and light palettes without raw color references.

* Fix formatting in conversation code block push helper.
mohitranka added a commit that referenced this pull request Sep 11, 2026
…109)

* Wire Forge Midnight/Daylight semantic tokens through TUI components.

Components now use role-based theme helpers (panels, tabs, composer, file selection, code blocks, and agent progress) so styling stays consistent across dark and light palettes without raw color references.

* Fix formatting in conversation code block push helper.
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.

1 participant