From 596cec1e9929637b529eadab6b1418ff98221a29 Mon Sep 17 00:00:00 2001 From: pyrschtjag Date: Fri, 30 Oct 2026 10:56:59 +0400 Subject: [PATCH] style(rmpc): refine ui theme settings --- rmpc/config.ron | 2 +- rmpc/def.ron | 142 ++++++++++++++++++++++++------------------------ 2 files changed, 72 insertions(+), 72 deletions(-) diff --git a/rmpc/config.ron b/rmpc/config.ron index 08299f0..41eadd8 100644 --- a/rmpc/config.ron +++ b/rmpc/config.ron @@ -196,7 +196,7 @@ ], ), ), - ], + ], ), ), ( diff --git a/rmpc/def.ron b/rmpc/def.ron index af1850b..cb76ca8 100644 --- a/rmpc/def.ron +++ b/rmpc/def.ron @@ -10,21 +10,21 @@ header_background_color: None, modal_background_color: None, modal_backdrop: false, - preview_label_style: (fg: "#88c0d0"), - preview_metadata_group_style: (fg: "#88c0d0", modifiers: "Bold"), - highlighted_item_style: (fg: "#88c0d0", modifiers: "Bold"), - current_item_style: (fg: "#2e3440", bg: "#88c0d0", modifiers: "Bold"), - borders_style: (fg: "#88c0d0"), - highlight_border_style: (fg: "#88c0d0"), + preview_label_style: (fg: "#b4befe"), + preview_metadata_group_style: (fg: "#b4befe", modifiers: "Bold"), + highlighted_item_style: (fg: "#89dceb", modifiers: "Bold"), + current_item_style: (fg: "#11111b", bg: "#b4befe", modifiers: "Bold"), + borders_style: (fg: "#b4befe"), + highlight_border_style: (fg: "#b4befe"), symbols: ( song: "S", dir: "D", playlist: "P", marker: "M", ellipsis: "...", - song_style: (fg: "#88c0d0"), - dir_style: (fg: "#ebcb8b"), - playlist_style: (fg: "#b48ead"), + song_style: (fg: "#89b4fa"), + dir_style: (fg: "#a6e3a1"), + playlist_style: (fg: "#cba6f7"), ), level_styles: ( info: (fg: "blue", bg: "black"), @@ -35,20 +35,20 @@ ), progress_bar: ( symbols: ["█", "█", "█", "█", "█"], - track_style: (fg: "#4c566a"), - elapsed_style: (fg: "#88c0d0"), - thumb_style: (fg: "#5e81ac"), + track_style: (fg: "#313244"), + elapsed_style: (fg: "#74c7ec"), + thumb_style: (fg: "#89b4fa"), use_track_when_empty: true, ), scrollbar: ( symbols: ["│", "█", "", ""], track_style: (), ends_style: (), - thumb_style: (fg: "#88c0d0"), + thumb_style: (fg: "#b4befe"), ), tab_bar: ( - active_style: (fg: "#2e3440", bg: "#88c0d0"), - inactive_style: (fg: "#eceff4", bg: "#2e3440"),), + active_style: (fg: "#181825", bg: "#94e2d5"), + inactive_style: (fg: "#cdd6f4", bg: "#1e1e2e"),), lyrics: ( timestamp: false ), @@ -70,32 +70,32 @@ ], song_table_format: [ ( - prop: (kind: Property(Artist), style: (fg: "#eceff4"), - default: (kind: Text("unknown"), style: (fg: "#eceff4")) + prop: (kind: Property(Artist), style: (fg: "#cdd6f4"), + default: (kind: Text("unknown"), style: (fg: "#cdd6f4")) ), - label_prop: (kind: Text("artist"), style: (fg: "#8fbcbb", modifiers: "Bold")), + label_prop: (kind: Text("artist"), style: (fg: "#74c7ec", modifiers: "Bold")), width: "20%", ), ( - prop: (kind: Property(Title), style: (fg: "#eceff4"), - default: (kind: Text("unknown"), style: (fg: "#eceff4")) + prop: (kind: Property(Title), style: (fg: "#cdd6f4"), + default: (kind: Text("unknown"), style: (fg: "#cdd6f4")) ), - label_prop: (kind: Text("title"), style: (fg: "#a3be8c", modifiers: "Bold")), + label_prop: (kind: Text("title"), style: (fg: "#a6e3a1", modifiers: "Bold")), width: "35%", ), ( - prop: (kind: Property(Album), style: (fg: "#eceff4"), - default: (kind: Text("unknown"), style: (fg: "#eceff4")) + prop: (kind: Property(Album), style: (fg: "#bac2de"), + default: (kind: Text("unknown"), style: (fg: "#bac2de")) ), - label_prop: (kind: Text("album"), style: (fg: "#b48ead", modifiers: "Bold")), - width: "30%", + label_prop: (kind: Text("album"), style: (fg: "#fab387", modifiers: "Bold")), + width: "35%", ), - ( - prop: (kind: Property(Duration), style: (fg: "#eceff4"), - default: (kind: Text("-"), style: (fg: "#eceff4")) + ( + prop: (kind: Property(Duration), style: (fg: "#a6adc8"), + default: (kind: Text("-"), style: (fg: "#a6adc8")) ), - label_prop: (kind: Text("duration"), style: (fg: "#ebcb8b", modifiers: "Bold")), - width: "15%", + label_prop: (kind: Text("duration"), style: (fg: "#cba6f7", modifiers: "Bold")), + width: "10%", alignment: Right, ), ], @@ -161,59 +161,59 @@ ), "state": Pane(Property( content: [ - (kind: Text("state: "), style: (fg: "#88c0d0", modifiers: "Bold")), - (kind: Property(Status(StateV2( ))), style: (fg: "#eceff4")), + (kind: Text("state: "), style: (fg: "#94e2d5", modifiers: "Bold")), + (kind: Property(Status(StateV2( ))), style: (fg: "#bac2de")), ], align: Left, scroll_speed: 1 )), "artist": Pane(Property( content: [ - (kind: Text("artist: "), style: (fg: "#88c0d0", modifiers: "Bold")), - (kind: Property(Song(Artist)), style: (fg: "#eceff4"), - default: (kind: Text("unknown"), style: (fg: "#eceff4"))), + (kind: Text("artist: "), style: (fg: "#94e2d5", modifiers: "Bold")), + (kind: Property(Song(Artist)), style: (fg: "#bac2de"), + default: (kind: Text("unknown"), style: (fg: "#bac2de"))), ], align: Left, scroll_speed: 1 )), "album": Pane(Property( content: [ - (kind: Text("album: "), style: (fg: "#88c0d0", modifiers: "Bold")), - (kind: Property(Song(Album)), style: (fg: "#eceff4"), - default: (kind: Text("unknown"), style: (fg: "#eceff4"))), + (kind: Text("album: "), style: (fg: "#94e2d5", modifiers: "Bold")), + (kind: Property(Song(Album)), style: (fg: "#bac2de"), + default: (kind: Text("unknown"), style: (fg: "#bac2de"))), ], align: Left, scroll_speed: 1 )), "track": Pane(Property( content: [ - (kind: Text("track: "), style: (fg: "#88c0d0", modifiers: "Bold")), - (kind: Property(Song(Track)), style: (fg: "#eceff4"), - default: (kind: Text("unknown"), style: (fg: "#eceff4"))), + (kind: Text("track: "), style: (fg: "#94e2d5", modifiers: "Bold")), + (kind: Property(Song(Track)), style: (fg: "#bac2de"), + default: (kind: Text("unknown"), style: (fg: "#bac2de"))), ], align: Left, scroll_speed: 1 )), "title": Pane(Property( content: [ - (kind: Text("title: "), style: (fg: "#88c0d0", modifiers: "Bold")), - (kind: Property(Song(Title)), style: (fg: "#eceff4"), - default: (kind: Text("unknown"), style: (fg: "#eceff4"))), + (kind: Text("title: "), style: (fg: "#94e2d5", modifiers: "Bold")), + (kind: Property(Song(Title)), style: (fg: "#bac2de"), + default: (kind: Text("unknown"), style: (fg: "#bac2de"))), ], align: Left, scroll_speed: 1 )), "date": Pane(Property( content: [ - (kind: Text("date: "), style: (fg: "#88c0d0", modifiers: "Bold")), - (kind: Property(Song(Other("date"))), style: (fg: "#eceff4"), - default: (kind: Text("unknown"), style: (fg: "#eceff4"))), + (kind: Text("date: "), style: (fg: "#94e2d5", modifiers: "Bold")), + (kind: Property(Song(Other("date"))), style: (fg: "#bac2de"), + default: (kind: Text("unknown"), style: (fg: "#bac2de"))), ], align: Left, scroll_speed: 1 )), "elapsed": Pane(Property( content: [ - (kind: Text("elapsed: "), style: (fg: "#88c0d0", modifiers: "Bold")), - (kind: Property(Status(Elapsed)), style: (fg: "#eceff4")), + (kind: Text("elapsed: "), style: (fg: "#94e2d5", modifiers: "Bold")), + (kind: Property(Status(Elapsed)), style: (fg: "#bac2de")), (kind: Text(" / ")), - (kind: Property(Status(Duration)), style: (fg: "#eceff4")), + (kind: Property(Status(Duration)), style: (fg: "#bac2de")), ], align: Left, scroll_speed: 1 )), "bitrate": Pane(Property( content: [ - (kind: Text("bitrate: "), style: (fg: "#88c0d0", modifiers: "Bold")), - (kind: Property(Status(Bitrate)), style: (fg: "#eceff4")), - (kind: Text(" kbps"), style: (fg: "#eceff4")), + (kind: Text("bitrate: "), style: (fg: "#94e2d5", modifiers: "Bold")), + (kind: Property(Status(Bitrate)), style: (fg: "#bac2de")), + (kind: Text(" kbps"), style: (fg: "#bac2de")), ], align: Left, scroll_speed: 1 )), @@ -222,9 +222,9 @@ panes: [ (size: "100%", pane: Pane(Volume(kind: Slider( symbols: (filled: "█", thumb: "█", track: "█"), - filled_style: (fg: "#d08770"), - track_style: (fg: "#4c566a"), - thumb_style: (fg: "#bf616a"), + filled_style: (fg: "#f5e0dc"), + track_style: (fg: "#313244"), + thumb_style: (fg: "#f2cdcd"), )))), ], align: Right ), @@ -243,39 +243,39 @@ size: "1", pane: Pane(Empty()) ), - ( + ( size: "6", pane: Pane(Property(content: [ - (kind: Text(" "), style: (bg: "#4c566a")), + (kind: Text(" "), style: (bg: "#313244")), (kind: Property(Status(RepeatV2( on_label: "z", off_label: "z", - on_style: (fg: "#ebcb8b", bg: "#4c566a", modifiers: "Bold"), - off_style: (fg: "#eceff4", bg: "#4c566a"), + on_style: (fg: "#fab387", bg: "#313244", modifiers: "Bold"), + off_style: (fg: "#cdd6f4", bg: "#313244"), )))), (kind: Property(Status(RandomV2( on_label: "x", off_label: "x", - on_style: (fg: "#ebcb8b", bg: "#4c566a", modifiers: "Bold"), - off_style: (fg: "#eceff4", bg: "#4c566a"), + on_style: (fg: "#fab387", bg: "#313244", modifiers: "Bold"), + off_style: (fg: "#cdd6f4", bg: "#313244"), )))), (kind: Property(Status(ConsumeV2( on_label: "c", off_label: "c", oneshot_label: "c", - on_style: (fg: "#ebcb8b", bg: "#4c566a", modifiers: "Bold"), - off_style: (fg: "#eceff4", bg: "#4c566a"), - oneshot_style: (fg: "#d08770", bg: "#4c566a", modifiers: "Bold"), + on_style: (fg: "#fab387", bg: "#313244", modifiers: "Bold"), + off_style: (fg: "#cdd6f4", bg: "#313244"), + oneshot_style: (fg: "#f38ba8", bg: "#313244", modifiers: "Bold"), )))), (kind: Property(Status(SingleV2( on_label: "v", off_label: "v", oneshot_label: "v", - on_style: (fg: "#ebcb8b", bg: "#4c566a", modifiers: "Bold"), - off_style: (fg: "#eceff4", bg: "#4c566a"), - oneshot_style: (fg: "#d08770", bg: "#4c566a", modifiers: "Bold"), + on_style: (fg: "#fab387", bg: "#313244", modifiers: "Bold"), + off_style: (fg: "#cdd6f4", bg: "#313244"), + oneshot_style: (fg: "#f38ba8", bg: "#313244", modifiers: "Bold"), )))), - (kind: Text(" "), style: (bg: "#4c566a")), + (kind: Text(" "), style: (bg: "#313244")), ], align: Right )) @@ -285,8 +285,8 @@ "input_mode": Pane(Property( content: [ (kind: Transform(Replace(content: (kind: Property(Status(InputMode()))), replacements: [ - (match: "Normal", replace: (kind: Text(" normal "), style: (fg: "#eceff4", bg: "#4c566a"))), - (match: "Insert", replace: (kind: Text(" insert "), style: (fg: "#2e3440", bg: "#a3be8c"))), + (match: "Normal", replace: (kind: Text(" normal "), style: (fg: "#cdd6f4", bg: "#313244"))), + (match: "Insert", replace: (kind: Text(" insert "), style: (fg: "#11111b", bg: "#94e2d5"))), ]))) ], align: Left )),