Skip to content

Commit

Permalink
change theme profile of playback_progress_bar component style
Browse files Browse the repository at this point in the history
  • Loading branch information
aome510 committed Jan 12, 2022
1 parent 561c7ae commit 5119c53
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion doc/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ block_title = { fg = "Magenta" }
playback_track = { fg = "Cyan", modifiers = ["Bold"] }
playback_album = { fg = "Yellow" }
playback_metadata = { fg = "BrightBlack" }
playback_progress_bar = { fg = "SelectionBackground", bg = "Green", modifiers = ["Italic"] }
playback_progress_bar = { bg = "SelectionBackground", fg = "Green" }
current_playing = { fg = "Green", modifiers = ["Bold"] }
page_desc = { fg = "Cyan", modifiers = ["Bold"] }
table_header = { fg = "Blue" }
Expand Down
2 changes: 1 addition & 1 deletion examples/theme.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ block_title = { fg = "Magenta" }
playback_track = { fg = "Cyan", modifiers = ["Bold"] }
playback_album = { fg = "Yellow" }
playback_metadata = { fg = "BrightBlack" }
playback_progress_bar = { fg = "SelectionBackground", bg = "Green", modifiers = ["Italic"] }
playback_progress_bar = { bg = "SelectionBackground", fg = "Green" }
current_playing = { fg = "Green", modifiers = ["Bold"] }
page_desc = { fg = "Cyan", modifiers = ["Bold"] }
table_header = { fg = "Blue" }
Expand Down
2 changes: 1 addition & 1 deletion scripts/theme_parse
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ block_title = {{ fg = "Magenta" }}
playback_track = {{ fg = "Cyan", modifiers = ["Bold"] }}
playback_album = {{ fg = "Yellow" }}
playback_metadata = {{ fg = "BrightBlack" }}
playback_progress_bar = {{ fg = "SelectionBackground", bg = "Green", modifiers = ["Italic"] }}
playback_progress_bar = {{ bg = "SelectionBackground", fg = "Green" }}
current_playing = {{ fg = "Green", modifiers = ["Bold"] }}
page_desc = {{ fg = "Cyan", modifiers = ["Bold"] }}
table_header = {{ fg = "Blue" }}
Expand Down
5 changes: 2 additions & 3 deletions spotify_player/src/config/theme.rs
Original file line number Diff line number Diff line change
Expand Up @@ -443,9 +443,8 @@ impl Default for ComponentStyle {
playback_album: Style::default().fg(StyleColor::Yellow),
playback_metadata: Style::default().fg(StyleColor::BrightBlack),
playback_progress_bar: Style::default()
.fg(StyleColor::SelectionBackground)
.bg(StyleColor::Green)
.modifiers(vec![StyleModifier::Italic]),
.bg(StyleColor::SelectionBackground)
.fg(StyleColor::Green),

current_playing: Style::default()
.fg(StyleColor::Green)
Expand Down

0 comments on commit 5119c53

Please sign in to comment.