[GH-ISSUE #490] Change current song progress color #202

Open
opened 2026-02-28 14:47:44 +03:00 by kerem · 5 comments
Owner

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.

Screen Shot 2020-06-06 at 11 50 41 AM
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. <img width="1423" alt="Screen Shot 2020-06-06 at 11 50 41 AM" src="https://user-images.githubusercontent.com/16331012/83952212-14b8d780-a7ec-11ea-8aee-2d9753172f1f.png">
Author
Owner

@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:
image

After passing:
image

<!-- gh-comment-id:640129416 --> @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: <img width="1105" alt="image" src="https://user-images.githubusercontent.com/18323154/83956083-fe704300-a80e-11ea-98e0-cbffd2fffb15.png"> After passing: <img width="1792" alt="image" src="https://user-images.githubusercontent.com/18323154/83956061-c832c380-a80e-11ea-95f3-621e417f57ee.png">
Author
Owner

@tysaya123 commented on GitHub (Jun 7, 2020):

How were you able to change just the color of the bounding box?

<!-- gh-comment-id:640146684 --> @tysaya123 commented on GitHub (Jun 7, 2020): How were you able to change just the color of the bounding box?
Author
Owner

@macguirerintoul commented on GitHub (Jun 7, 2020):

I wasn't able to, I think it just uses playbar_background and playbar_progress depending on whether it's passed or not

<!-- gh-comment-id:640146831 --> @macguirerintoul commented on GitHub (Jun 7, 2020): I wasn't able to, I think it just uses `playbar_background` and `playbar_progress` depending on whether it's passed or not
Author
Owner

@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

<!-- gh-comment-id:651267355 --> @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
Author
Owner

@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.

<!-- gh-comment-id:680181359 --> @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.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/spotify-tui#202
No description provided.