Skip to content

sqlx CLI help unreadable in light terminals #4112

@faultymajority

Description

@faultymajority

I have found these related issues/pull requests

Couldn't find anything related.

Description

I have a white background in my terminal, and the choice of "white" in

.literal(AnsiColor::White.on_default())
causes sqlx --help to be invisible.

I'm aware I can set NO_COLOR=1 to turn the help styles off, but it would be nice to be able to use help out of the box.

Image

Reproduction steps

Type sqlx --help in a white terminal.

SQLx version

0.8.6

Enabled SQLx features

n/a

Database server and version

n/a

Operating system

Linux

Rust version

n/a

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions