Skip to content

Retune theme palette and add semantic role tokens - #108

Merged
github-actions[bot] merged 1 commit into
mainfrom
theme/forge-midnight-daylight
Aug 1, 2026
Merged

github-actions[bot] merged 1 commit into
mainfrom
theme/forge-midnight-daylight

Conversation

@mohitranka

Copy link
Copy Markdown
Contributor

Summary

Implement the Forge Midnight / Forge Daylight theme spec.

Changes

Palette (theme.rs)

  • Retune dark/light tokens to the spec's neutral-blue palette.
  • Add new semantic roles: accent_soft, agent, surface_hover, cursor.
  • Decouple info from accent; tool running state now warns (amber).
  • User message gutter marker now uses the accent (blue).
  • Update WCAG AA contrast tests for the new palette.

Component wiring

  • Agent-purple ▍ left marker on assistant answers (conversation.rs).
  • accent_soft current-line tint in the source viewer (source_viewer.rs).
  • surface_hover background for inactive-selection rows.
  • Caret uses the dedicated cursor token.

Validation

  • cargo fmt --check, cargo clippy -D warnings clean.
  • cargo test --workspace all green.

Notes

  • Accent is now blue (replaces the cyan identity accent) per the spec. This deliberately deviates from FORGE-DESIGN.md's cyan/yellow identity; design doc not yet updated.

Implement the Forge Midnight/Daylight theme spec:
- Retune dark/light tokens to the spec's neutral-blue palette.
- Add new semantic roles: accent_soft, agent, surface_hover, cursor.
- Decouple info from accent; tool running state now warns (amber).

Wire new tokens into components:
- Agent-purple left marker on assistant answers.
- accent_soft current-line tint in the source viewer.
- surface_hover background for inactive-selection rows.
- caret uses the dedicated cursor token.

Update WCAG AA contrast tests for the new palette.
@github-actions
github-actions Bot enabled auto-merge (squash) August 1, 2026 08:50
@github-actions
github-actions Bot merged commit d20b35d into main Aug 1, 2026
6 checks passed
mohitranka added a commit that referenced this pull request Aug 21, 2026
)

Implement the Forge Midnight/Daylight theme spec:
- Retune dark/light tokens to the spec's neutral-blue palette.
- Add new semantic roles: accent_soft, agent, surface_hover, cursor.
- Decouple info from accent; tool running state now warns (amber).

Wire new tokens into components:
- Agent-purple left marker on assistant answers.
- accent_soft current-line tint in the source viewer.
- surface_hover background for inactive-selection rows.
- caret uses the dedicated cursor token.

Update WCAG AA contrast tests for the new palette.
mohitranka added a commit that referenced this pull request Sep 11, 2026
)

Implement the Forge Midnight/Daylight theme spec:
- Retune dark/light tokens to the spec's neutral-blue palette.
- Add new semantic roles: accent_soft, agent, surface_hover, cursor.
- Decouple info from accent; tool running state now warns (amber).

Wire new tokens into components:
- Agent-purple left marker on assistant answers.
- accent_soft current-line tint in the source viewer.
- surface_hover background for inactive-selection rows.
- caret uses the dedicated cursor token.

Update WCAG AA contrast tests for the new palette.
mohitranka added a commit that referenced this pull request Sep 11, 2026
)

Implement the Forge Midnight/Daylight theme spec:
- Retune dark/light tokens to the spec's neutral-blue palette.
- Add new semantic roles: accent_soft, agent, surface_hover, cursor.
- Decouple info from accent; tool running state now warns (amber).

Wire new tokens into components:
- Agent-purple left marker on assistant answers.
- accent_soft current-line tint in the source viewer.
- surface_hover background for inactive-selection rows.
- caret uses the dedicated cursor token.

Update WCAG AA contrast tests for the new palette.
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