feat: TUI brand colors and enhanced buddy system#143
feat: TUI brand colors and enhanced buddy system#143Icarus603 wants to merge 1 commit intoclaude-code-best:mainfrom
Conversation
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>
|
Warning Rate limit exceeded
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 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 configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (12)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
为何改品牌色 @Icarus603 |
|
和 a 社的区分一下。然后感觉这种配色比较好看 |
|
其实主要是 /buddy 那个。buddy 加了点东西 |
|
呃呃呃, 我们要保证一下原汁原味哈, 这个估计不会合并 |
Summary
Comprehensive TUI customizations with cohesive brand color palette and enhanced buddy companion system.
Theme Colors
rgb(88,190,255))BRAND_COLOR,BRAND_COLOR_LIGHT,BRAND_RED,BRAND_GREENconstantsrgb(131,210,238))userMessageBackgroundtorgb(15,15,15)Syntax Highlighting
syntaxHighlightingDisabledsetting in HighlightedCodeUI Behavior
#FEC84A) in dark themesBuddy System
/buddy pet,rehatch,mute,unmutecommands/buddycallCo-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com