worktrunk icon indicating copy to clipboard operation
worktrunk copied to clipboard

[Question] Console output hint color legibility

Open jhigh2000 opened this issue 9 months ago • 6 comments

I'm using windows terminal with the dracula color scheme, but this applies to the default dark themes too.

The hint text is very hard to read:

Image

Here's the output again with the text highlighted.

Image

Is this a known issue and something I need to configure on my end?

Thanks!

jhigh2000 avatar Feb 23 '26 15:02 jhigh2000

Thanks for reaching out! This is a known limitation of how hint text is styled rather than something to configure on your end.

Hint lines (the ↳ messages) use the ANSI dim attribute (\x1b[2m), which tells the terminal to reduce text brightness. How much dimming is applied varies by terminal — and on dark themes like Dracula where the foreground is already a lighter color, the dimmed text can become nearly invisible against the dark background.

There's currently no configuration to customize hint colors independently. The only workaround right now is:

  • NO_COLOR=1 environment variable — disables all color and styling (the nuclear option)
  • Adjusting your terminal's "dim" rendering — some terminals let you configure how the dim attribute is interpreted, though Windows Terminal doesn't expose this directly

A maintainer can evaluate whether the hint styling should be adjusted for better cross-theme legibility (e.g., using a specific color instead of relying on the dim attribute).

worktrunk-bot avatar Feb 23 '26 15:02 worktrunk-bot

hi @jhigh2000 !

is this the case for your theme for any dim text? keen to make this broadly compatible but also would be a shame to turn off dim font

there is a command that shows all the text that we use, for testing:

Image

max-sixty avatar Feb 23 '26 17:02 max-sixty

The output of wt config shell show-theme for a few themes below. I completely understand the immense challenge of trying to make things look consistent and good across so many environments.

Dracula Image

Campbell Powershell Image

jhigh2000 avatar Feb 23 '26 17:02 jhigh2000

the extremely dim wt merge is dim bright black. #1185 will show the colors names

are those standard themes & backgrounds? I guess I'm surprised that standard colors are so hard to read, though possible "dim bright black" is niche?

max-sixty avatar Feb 23 '26 19:02 max-sixty

Dracula is a custom theme (https://draculatheme.com/windows-terminal), but Campbell Powershell is a default theme. All of the built-in dark themes are pretty dark IMO. Thanks for adding the color names, that will help!

Included Windows Terminal Color Schemes https://learn.microsoft.com/en-us/windows/terminal/customize-settings/color-schemes#included-color-schemes

jhigh2000 avatar Feb 23 '26 22:02 jhigh2000

This was resolved by dc7f5bca ("Replace bright-black with underline for inline references in hints", PR #1285). All <bright-black> styling in hints has been replaced with <underline>, which has consistent visibility across all terminal themes and color schemes.

worktrunk-bot avatar Mar 06 '26 06:03 worktrunk-bot