mirror of
https://github.com/aome510/spotify-player.git
synced 2026-04-26 17:35:50 +03:00
[GH-ISSUE #744] Default theme component behavior on progress_bar? #442
Labels
No labels
bug
documentation
enhancement
good first issue
help wanted
pull-request
question
third-party
third-party
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotify-player#442
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 @repparw on GitHub (Jun 9, 2025).
Original GitHub issue: https://github.com/aome510/spotify-player/issues/744
I need some help around theming, I did a module for stylix that handles spotify-player
I have an issue with some themes, where progress bar text when filled, gets wrong background, with default component behavior
See stylix discussion
This is what I can find on theming but I'm not too familiar with rust
github.com/aome510/spotify-player@0f1405d72d/spotify_player/src/config/theme.rs (L263-L281)Can I get some help on what could be going wrong?
@aome510 commented on GitHub (Jun 22, 2025):
By default, the following style is used
so background
BrightBlackand foregroundGreen. IIUC, the bar logic is using the above style for unfinished section and a reverse style for the finished section. I'm not familiar withstylixso cannot comment on that@repparw commented on GitHub (Jun 22, 2025):
stylix is only tangentially relevant, it's just a form of setting the same colorscheme to all of the supported apps at the same time.
In this case, it just grabs the 16 defined colors and maps them to spotify-player, I did not change any of the default components behaviors there.
I noticed this only on some themes, my thought was the text background and the progress bar filled were referring to a different color name that's set to the same color in some themes (Green/Bright green?). don't know where the text behavior is defined
@aome510 commented on GitHub (Jun 22, 2025):
You can find that in
ratatuilibrary codes:github.com/ratatui/ratatui@488e5f020f/ratatui-widgets/src/gauge.rs (L170-L217)gauge_styleis what is set byplayback_progress_barfunction above@aome510 commented on GitHub (Aug 5, 2025):
Close this issue for now cause I don't know what needs to be done from
spotify_playerside