Skip to content

feat: align RefactorIA themes and macOS appearance with the design system - #80

Merged
barbatdev merged 3 commits into
mainfrom
feat/refactoria-theme-tokens
Oct 30, 2026
Merged

barbatdev merged 3 commits into
mainfrom
feat/refactoria-theme-tokens

Conversation

@barbatdev

Copy link
Copy Markdown
Owner

Summary

Aligns every RefactorIA surface with the RefactorIA design system tokens (dark-900 #0B0714, brand-500 #7127FF, light-100 #FFFFFF, accent-spark #FFB547).

  • Herdr Desktop (herdr/desktop/themes/refactoria.json, new): amber cursor; accent moves from #7127FF to #A477FF because mods render it as small text (help keys, worktree open label), where #7127FF only reaches 3.0–3.3:1. solid keeps #7127FF behind white text (6.1:1).
  • Pi / gentle-shell (pi/themes/refactoria.json): text #FFFFFF, brandViolet and selection #7127FF, warning #FFB547.
  • Claude Code (claude/themes/refactoria.json): same mapping for suggestion, selectionBg, warning, bashBorder and the subagent yellow.
  • Ghostty: cursor uses the amber spark; cursor text stays #0B0714 (11.3:1).
  • macOS: new scripts/macos-appearance.sh, called from install.sh, sets dark mode, the purple accent preset and a #A477FF text highlight. Supports --dry-run and skips non-macOS platforms. Wallpaper and icon tint stay manual.

Fish and Starship already used the right tokens, so they are unchanged.

Verification

  • JSON themes parse with python3 -m json.tool.
  • Contrast ratios computed against #0B0714, #17102A and #2C2144.
  • bash -n passes for install.sh and scripts/macos-appearance.sh; ./install.sh --dry-run lists the appearance steps without applying them.
  • After a real run, defaults read -g returns Dark, 5 and 0.643137 0.466667 1.000000 Other.
  • Not verified visually yet in Herdr Desktop, Pi, Claude Code or Ghostty.

🤖 Generated with Claude Code

https://claude.ai/code/session_01A9D7ph123Jn8iB1eGbr8Nz

@barbatdev
barbatdev merged commit 7129018 into main Oct 30, 2026
1 check passed
@barbatdev
barbatdev deleted the feat/refactoria-theme-tokens branch October 30, 2026 12:53
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