Skip to content

Replace black and white default colors with reset.#742

Merged
Rigellute merged 1 commit into
Rigellute:masterfrom
Jesse-Bakker:default_colors
Feb 27, 2021
Merged

Replace black and white default colors with reset.#742
Rigellute merged 1 commit into
Rigellute:masterfrom
Jesse-Bakker:default_colors

Conversation

@Jesse-Bakker
Copy link
Copy Markdown
Contributor

Previously, text would be white, which is not visible on bright color
schemes. The color for non-highlighted text now uses the default
foreground color of the users terminal emulator, making it visible in
any theme. The only visual change in dark color schemes is that the
playbar text might go from black to white, depending on the users
terminal emulator (some terminal emulators swap fore- and background
colors on a colored background depending on the background color; this
is IMO the correct behavior anyway).

Copy link
Copy Markdown
Owner

@Rigellute Rigellute left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for looking at this. Just one problem I can see. Not sure if there's a general solution for dark/light colour schemes?

Comment thread src/user_config.rs Outdated
Previously, text would be white, which is not visible on bright color
schemes. The color for non-highlighted text now uses the default
foreground color of the users terminal emulator, making it visible in
any theme. The only visual change in dark color schemes is that the
playbar text might go from black to white, depending on the users
terminal emulator (some terminal emulators swap fore- and background
colors on a colored background depending on the background color; this
is IMO the correct behavior anyway).
Copy link
Copy Markdown
Owner

@Rigellute Rigellute left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good work @Jesse-Bakker, thank you

@Rigellute Rigellute merged commit 7fa2889 into Rigellute:master Feb 27, 2021
@Rigellute
Copy link
Copy Markdown
Owner

@all-contributors please add @Jesse-Bakker for code

@allcontributors
Copy link
Copy Markdown
Contributor

@Rigellute

I've put up a pull request to add @Jesse-Bakker! 🎉

lanej pushed a commit to lanej/spotify-tui that referenced this pull request Jul 13, 2021
Previously, text would be white, which is not visible on bright color
schemes. The color for non-highlighted text now uses the default
foreground color of the users terminal emulator, making it visible in
any theme. The only visual change in dark color schemes is that the
playbar text might go from black to white, depending on the users
terminal emulator (some terminal emulators swap fore- and background
colors on a colored background depending on the background color; this
is IMO the correct behavior anyway).
nighi pushed a commit to nighi/spotify-tui that referenced this pull request Jul 11, 2025
Previously, text would be white, which is not visible on bright color
schemes. The color for non-highlighted text now uses the default
foreground color of the users terminal emulator, making it visible in
any theme. The only visual change in dark color schemes is that the
playbar text might go from black to white, depending on the users
terminal emulator (some terminal emulators swap fore- and background
colors on a colored background depending on the background color; this
is IMO the correct behavior anyway).
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.

2 participants