Skip to content

sqlx-cli: use cyan instead of white for help text literals#4263

Open
c-tonneslan wants to merge 1 commit into
launchbadge:mainfrom
c-tonneslan:fix/help-text-visible-light-terminal
Open

sqlx-cli: use cyan instead of white for help text literals#4263
c-tonneslan wants to merge 1 commit into
launchbadge:mainfrom
c-tonneslan:fix/help-text-visible-light-terminal

Conversation

@c-tonneslan
Copy link
Copy Markdown

Fixes #4112.

AnsiColor::White is invisible on light/white terminal backgrounds. Cyan is readable on both light and dark terminals, so it's a better choice for the literal style.

Before (white terminal):

  • Command names and flags are invisible

After:

  • Command names and flags render in cyan, visible on both light and dark terminals

White is invisible on light terminal backgrounds. Cyan is readable on both
light and dark backgrounds, so it's a better default for the literal style.

Fixes launchbadge#4112
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.

sqlx CLI help unreadable in light terminals

1 participant