Skip to content

feat(cli): use dim colors for YOLO/auto-accept mode borders - #1476

Merged
tanzhenxin merged 1 commit into
QwenLM:mainfrom
afarber:1461-yolo-color-change
Jan 21, 2026
Merged

feat(cli): use dim colors for YOLO/auto-accept mode borders#1476
tanzhenxin merged 1 commit into
QwenLM:mainfrom
afarber:1461-yolo-color-change

Conversation

@afarber

@afarber afarber commented Jan 13, 2026

Copy link
Copy Markdown
Contributor

TLDR

Replace bright red/yellow border colors in YOLO and auto-accept modes with darker, less visually intense variants.

Dive Deeper

Added new semantic color tokens (errorDim, warningDim) and corresponding theme colors (AccentRedDim, AccentYellowDim) across all themes:

  • Dark themes: #8B3A4A (dim rose) for YOLO, #8B7530 (dim gold) for auto-accept
  • Light themes: #993333 (dim red) for YOLO, #8B7000 (dim amber) for auto-accept
  • ANSI themes: fallback to standard red/yellow

Reviewer Test Plan

  1. Run npm run start
  2. Enable YOLO mode: /approval-mode yolo
  3. Verify the input border is a darker red (not bright pink/red)
  4. Enable auto-accept mode: /approval-mode auto-edit
  5. Verify the input border is a darker gold (not bright yellow)
  6. Test with different themes via /theme command

Alternative: Start directly with npm start -- --yolo or npm start -- -y

Testing Matrix

🍏 🪟 🐧
npm run yes
npx
Docker
Podman - -
Seatbelt - -

Linked issues / bugs

Fixes #1461

@afarber

afarber commented Jan 13, 2026

Copy link
Copy Markdown
Contributor Author

Successfully tested on my Macbook Air M1 with macOS 26.2 (note the subdued red border color at the bottom):

image

@afarber
afarber force-pushed the 1461-yolo-color-change branch from be41c8f to 5d20848 Compare January 17, 2026 13:23

@tanzhenxin tanzhenxin left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@tanzhenxin
tanzhenxin merged commit 3ece0e3 into QwenLM:main Jan 21, 2026
14 checks passed
@afarber
afarber deleted the 1461-yolo-color-change branch January 21, 2026 10:13
xaelistic pushed a commit to xaelistic/qwen-code that referenced this pull request Jun 7, 2026
feat(cli): use dim colors for YOLO/auto-accept mode borders
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.

UI: YOLO mode's text input looks kinda ugly with the red outline

2 participants