Skip to content

colors in uv self update are not readable on a light theme #12940

@kdheepak

Description

@kdheepak

Summary

Image Image

Here's the following with a manual highlight using a selection with the mouse:

Image

The offending lines appears to be these:

format!(
"from {} to {}",
format!("v{old_version}").bold().white(),
format!("v{}", result.new_version).bold().white(),
)
} else {
format!("to {}", format!("v{}", result.new_version).bold().white())

format!("v{}", env!("CARGO_PKG_VERSION")).bold().white()

It might be worth changing it to the following:

- .bold().white()
+ .bold().white().on_black()

or an equivalent.

Platform

MacOS

Version

uv 0.6.14 (a4cec56 2025-04-09)

Python version

Python 3.12.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions