Skip to content

feat: TUI brand colors and enhanced buddy system#143

Closed
Icarus603 wants to merge 1 commit intoclaude-code-best:mainfrom
Icarus603:main
Closed

feat: TUI brand colors and enhanced buddy system#143
Icarus603 wants to merge 1 commit intoclaude-code-best:mainfrom
Icarus603:main

Conversation

@Icarus603
Copy link
Copy Markdown

Summary

Comprehensive TUI customizations with cohesive brand color palette and enhanced buddy companion system.

Theme Colors

  • Replace Claude orange brand color with blue (rgb(88,190,255))
  • Add BRAND_COLOR, BRAND_COLOR_LIGHT, BRAND_RED, BRAND_GREEN constants
  • Update all 6 theme variants with consistent brand palette
  • Change permission/suggestion/remember to cyan-blue (rgb(131,210,238))
  • Set dark theme userMessageBackground to rgb(15,15,15)

Syntax Highlighting

  • Add Royal Gold Dark theme (gold/blue palette, lower saturation)
  • Replace Monokai Extended as default dark syntax theme
  • Ctrl+T toggle visible in ThemePicker with shortcut hint
  • Support syntaxHighlightingDisabled setting in HighlightedCode

UI Behavior

  • Remove spinner stalled-to-red warning
  • Remove top padding from FullscreenLayout
  • Set inline code color to amber gold (#FEC84A) in dark themes

Buddy System

  • Add /buddy pet, rehatch, mute, unmute commands
  • 20-char stat bars (████████░░) for companion stats
  • Auto-hatch on first /buddy call
  • Enable BUDDY feature in production builds

Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com

This PR introduces comprehensive TUI customizations with a cohesive
brand color palette, an enhanced /buddy companion system, and proper
keyboard shortcut hints in the ThemePicker.

### Theme Colors
- Replace Claude orange brand color with blue (rgb(88,190,255))
- Add BRAND_COLOR, BRAND_COLOR_LIGHT, BRAND_RED, BRAND_GREEN constants
- Update all 6 theme variants (light, dark, ansi, daltonized) with consistent palette
- Change permission/suggestion/remember to cyan-blue (rgb(131,210,238))
- Set dark theme userMessageBackground to darker rgb(15,15,15)
- Update diff colors to burgundy red and forest green

### Syntax Highlighting
- Add new Royal Gold Dark theme (gold/blue palette, lower saturation)
- Replace Monokai Extended as default dark syntax theme
- Support syntaxHighlightingDisabled setting in HighlightedCode
- Keep Ctrl+T toggle in ThemePicker with visible shortcut hint
- Fix hex colors to rgb format for themeColorToAnsi compatibility
- Use src/* aliases and semicolons in SpinnerGlyph imports

### UI Behavior
- Remove spinner stalled-to-red warning animation
- Remove top padding from FullscreenLayout (cleaner layout)
- Remove unused padCollapsed variable
- Set inline code color to amber gold (#FEC84A) in dark themes

### Buddy System
- Add /buddy pet, rehatch, mute, unmute commands
- Add 20-character stat bars (████████░░) for companion stats
- Display sprite, rarity, eye, hat, personality in text format
- Auto-hatch on first /buddy call (no explicit hatch needed)
- Enable BUDDY feature in production builds by default

### Files Changed
- build.ts
- packages/color-diff-napi/src/index.ts
- src/utils/theme.ts, src/utils/markdown.ts
- src/components/Spinner/*.tsx
- src/components/FullscreenLayout.tsx, HighlightedCode.tsx, ThemePicker.tsx
- src/commands/buddy/buddy.ts, index.ts
- src/keybindings/defaultBindings.ts, schema.ts

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Apr 5, 2026

Warning

Rate limit exceeded

@Icarus603 has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 1 minutes and 50 seconds before requesting another review.

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 1 minutes and 50 seconds.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 0f76eb4c-40cd-4ad7-9957-d2901d757de4

📥 Commits

Reviewing files that changed from the base of the PR and between 2782529 and 33eca6a.

📒 Files selected for processing (12)
  • build.ts
  • packages/color-diff-napi/src/index.ts
  • src/commands/buddy/buddy.ts
  • src/commands/buddy/index.ts
  • src/components/FullscreenLayout.tsx
  • src/components/HighlightedCode.tsx
  • src/components/Spinner/GlimmerMessage.tsx
  • src/components/Spinner/SpinnerAnimationRow.tsx
  • src/components/Spinner/SpinnerGlyph.tsx
  • src/components/ThemePicker.tsx
  • src/utils/markdown.ts
  • src/utils/theme.ts
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Comment @coderabbitai help to get the list of available commands and usage tips.

@claude-code-best
Copy link
Copy Markdown
Owner

为何改品牌色 @Icarus603

@Icarus603
Copy link
Copy Markdown
Author

和 a 社的区分一下。然后感觉这种配色比较好看

@Icarus603
Copy link
Copy Markdown
Author

其实主要是 /buddy 那个。buddy 加了点东西

@claude-code-best
Copy link
Copy Markdown
Owner

呃呃呃, 我们要保证一下原汁原味哈, 这个估计不会合并

@Icarus603 Icarus603 closed this Apr 6, 2026
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.

2 participants