mirror of
https://github.com/Rigellute/spotify-tui.git
synced 2026-04-25 23:55:53 +03:00
[GH-ISSUE #490] Change current song progress color #202
Labels
No labels
bug
enhancement
good first issue
help wanted
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotify-tui#202
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @tysaya123 on GitHub (Jun 6, 2020).
Original GitHub issue: https://github.com/Rigellute/spotify-tui/issues/490
It would be neat if you could change the color of the text that shows when the progress bar covers it without changing the background. My motivation is that I enjoy the black background but the default color can be hard to read on dark progress bar colors.
@macguirerintoul commented on GitHub (Jun 6, 2020):
On a similar note, the bounding box for the text seems to invert the background. It would be nice if only the text would change colour rather than the background as well.
Before passing:

After passing:

@tysaya123 commented on GitHub (Jun 7, 2020):
How were you able to change just the color of the bounding box?
@macguirerintoul commented on GitHub (Jun 7, 2020):
I wasn't able to, I think it just uses
playbar_backgroundandplaybar_progressdepending on whether it's passed or not@Rigellute commented on GitHub (Jun 29, 2020):
The should be doable! We just need to add another item to the theme config and use that color in the playbar progress
@Peterwmoss commented on GitHub (Aug 25, 2020):
As of right now tui doesn't support multiple font colors for widgets / elements, so this would require a rework of how the playbar progress is presented.
update: it seems that if you bump the version of tui to 0.10.0 instead of 0.9.5 there's a method called gauge_style, but there are lots of errors due to thing being depricated. I'm looking into updating this.
@macguirerintoul I can't seem to reproduce that behavior, but I think that's an issue for itself and not this one specifically.