From c0c19693326bba9f3c216f57ab68daf747488411 Mon Sep 17 00:00:00 2001 From: Mollusk Date: Sun, 28 Jun 2026 17:33:32 -0400 Subject: [PATCH] style(music): theme-colored skip glyphs in player bar + drawer MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The skip-back/forward buttons rendered orange in every theme because the emoji glyphs ⏮/⏭ (U+23EE/U+23ED) are drawn by the system color-emoji font, which ignores the button's text color. Replace them with |◀ / ▶| built from the text-presentation triangles ◀/▶ (U+25C0/U+25B6) — the same family the play button already uses — so they honor .color() and follow the active theme like the play button does. Applies to both the now-playing player bar and the full music drawer panel. Pure visual change; no behavior change. Co-Authored-By: Claude Opus 4.8 --- src/app/mod.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/app/mod.rs b/src/app/mod.rs index 9b4659d..bdf2a56 100644 --- a/src/app/mod.rs +++ b/src/app/mod.rs @@ -5567,7 +5567,7 @@ fn view(state: &AppState) -> Element<'_, AppMessage> { .unwrap_or_else(|| "--:--".to_string()); column![ row![ - button(text("⏮").size(13)) + button(text("|◀").size(13)) .on_press(AppMessage::MusicPrev) .style(b_style(color_surface, color_blue, color_text, 6.0)) .padding(7), @@ -5575,7 +5575,7 @@ fn view(state: &AppState) -> Element<'_, AppMessage> { .on_press(AppMessage::MusicPlayPause) .style(b_style(color_blue, color_lavender, color_crust, 6.0)) .padding(7), - button(text("⏭").size(13)) + button(text("▶|").size(13)) .on_press(AppMessage::MusicNext) .style(b_style(color_surface, color_blue, color_text, 6.0)) .padding(7), @@ -5741,7 +5741,7 @@ fn view(state: &AppState) -> Element<'_, AppMessage> { ) .width(iced::Length::Fill), row![ - button(text("⏮").size(13)) + button(text("|◀").size(13)) .on_press(AppMessage::MusicPrev) .style(b_style(color_surface, color_blue, color_text, 6.0)) .padding(7), @@ -5749,7 +5749,7 @@ fn view(state: &AppState) -> Element<'_, AppMessage> { .on_press(AppMessage::MusicPlayPause) .style(b_style(color_blue, color_lavender, color_crust, 6.0)) .padding(7), - button(text("⏭").size(13)) + button(text("▶|").size(13)) .on_press(AppMessage::MusicNext) .style(b_style(color_surface, color_blue, color_text, 6.0)) .padding(7),