Skip to content

Simplify themes to Forge Dark/Light/System, colorblind-safe status colors - #440

Merged
mohitranka merged 1 commit into
mainfrom
feat/theme-simplification-colorblind-safe
Aug 26, 2026
Merged

mohitranka merged 1 commit into
mainfrom
feat/theme-simplification-colorblind-safe

Conversation

@mohitranka

Copy link
Copy Markdown
Contributor

Summary

  • Simplifies the theme picker to Forge Dark, Forge Light, and System — removes Solarized Dark/Light, Catppuccin Mocha, Gruvbox Dark, and Kanagawa Wave.
  • Adds Forge Light as a new palette (crates/forge-tui/themes/forge-light.toml), mirroring Forge Dark's design language: green-tinted neutrals, a non-green blue accent.
  • Recolors both palettes' success/error from green/red to teal/crimson, matching Claude Code's own colorblind-friendly ("daltonized") themes and the Okabe-Ito accessible palette — red and green are the pair that collapses together under protanopia and deuteranopia, the two most common forms of color-vision deficiency. accent (blue) and warning (amber) were already clear of that collision and are unchanged.
  • Every recolor is checked against forge's own existing accessibility invariants: the 60° accent/status hue-separation rule, the info/agent separability rule, and WCAG AA contrast on every surface — not just eyeballed.
  • Updates FORGE-DESIGN.md and README.md theme tables, and every test that referenced a removed theme or pinned an old hex value (including hand-recalibrated WCAG contrast floors and a hardcoded syntax-color assertion).

Test plan

  • cargo fmt --all clean
  • cargo clippy --workspace --all-targets clean
  • cargo test --workspace green (full suite, exit 0)
  • forge-tui's own suite (1028 tests) green after the palette change, including the recalibrated WCAG AA floor tests for both themes

https://claude.ai/code/session_01Tb5bxZgFovoKct29q9VEgs

…lors colorblind-safe

Reduces the theme picker to Forge Dark, Forge Light, and System, removing
Solarized Dark/Light, Catppuccin Mocha, Gruvbox Dark, and Kanagawa Wave.
Forge Light is a new palette mirroring Forge Dark's design language
(green-tinted neutrals, non-green accent).

Both palettes' success/error colors are recolored teal/crimson instead of
green/red, matching Claude Code's own colorblind-friendly themes and the
Okabe-Ito accessible palette: red and green are the pair that collapses
together under protanopia and deuteranopia. Accent (blue) and warning
(amber) were already clear of that collision and are unchanged. Every
change is verified against forge's own accent/status hue-separation rule
and WCAG AA contrast requirements.

Claude-Session: https://claude.ai/code/session_01Tb5bxZgFovoKct29q9VEgs
@mohitranka
mohitranka merged commit 06328a8 into main Aug 26, 2026
7 checks passed
@mohitranka
mohitranka deleted the feat/theme-simplification-colorblind-safe branch August 26, 2026 01:41
mohitranka added a commit that referenced this pull request Sep 11, 2026
…lors colorblind-safe (#440)

Reduces the theme picker to Forge Dark, Forge Light, and System, removing
Solarized Dark/Light, Catppuccin Mocha, Gruvbox Dark, and Kanagawa Wave.
Forge Light is a new palette mirroring Forge Dark's design language
(green-tinted neutrals, non-green accent).

Both palettes' success/error colors are recolored teal/crimson instead of
green/red, matching Claude Code's own colorblind-friendly themes and the
Okabe-Ito accessible palette: red and green are the pair that collapses
together under protanopia and deuteranopia. Accent (blue) and warning
(amber) were already clear of that collision and are unchanged. Every
change is verified against forge's own accent/status hue-separation rule
and WCAG AA contrast requirements.

Claude-Session: https://claude.ai/code/session_01Tb5bxZgFovoKct29q9VEgs
mohitranka added a commit that referenced this pull request Sep 11, 2026
…lors colorblind-safe (#440)

Reduces the theme picker to Forge Dark, Forge Light, and System, removing
Solarized Dark/Light, Catppuccin Mocha, Gruvbox Dark, and Kanagawa Wave.
Forge Light is a new palette mirroring Forge Dark's design language
(green-tinted neutrals, non-green accent).

Both palettes' success/error colors are recolored teal/crimson instead of
green/red, matching Claude Code's own colorblind-friendly themes and the
Okabe-Ito accessible palette: red and green are the pair that collapses
together under protanopia and deuteranopia. Accent (blue) and warning
(amber) were already clear of that collision and are unchanged. Every
change is verified against forge's own accent/status hue-separation rule
and WCAG AA contrast requirements.

Claude-Session: https://claude.ai/code/session_01Tb5bxZgFovoKct29q9VEgs
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