Skip to content

feat: add color palette to show-theme - #1185

Merged
max-sixty merged 2 commits into
mainfrom
theme
Feb 23, 2026
Merged

max-sixty merged 2 commits into
mainfrom
theme

Conversation

@max-sixty

Copy link
Copy Markdown
Owner

Summary

  • Add a "Color palette" section to wt config shell show-theme that prints each color/style rendered in itself
  • Covers base colors (red, green, yellow, blue, cyan), modifiers (bold, dim), bold+color variants (emphasis in messages), dim bright-black (inline code in hints), and dim+color variants (bash syntax highlighting)
  • Helps users diagnose legibility issues on their terminal theme

Thanks to @jhigh2000 for reporting in #1184.

Closes #1184

Test plan

  • Snapshot test updated and passing
  • All 1120 integration tests pass
  • All lints pass

This was written by Claude Code on behalf of @max-sixty

Add a "Color palette" section that prints each color/style we use,
rendered in that style, so users can quickly identify legibility issues
on their terminal. Includes base colors, bold variants (used for
emphasis in messages), and dim variants (used in syntax highlighting
and hints).

Closes #1184

Co-Authored-By: Claude <[email protected]>

@worktrunk-bot worktrunk-bot 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.

One nit: the after_long_help for ShowTheme in src/cli/config.rs still lists only three bullet points:

  • Progress, success, error, warning, hint, info
  • Gutter formatting for quoted content
  • Prompts for user input

It should also mention the new color palette section (e.g. - Color palette showing each color rendered in itself) so that wt config shell show-theme --help matches what the command actually outputs.

Everything else looks clean — the palette covers all colors/styles the tool uses in practice.

@max-sixty
max-sixty merged commit 7b7c0b1 into main Feb 23, 2026
20 checks passed
@max-sixty
max-sixty deleted the theme branch February 23, 2026 19:54
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.

[Question] Console output hint color legibility

2 participants