style(rmpc): refine ui theme settings

This commit is contained in:
pyrschtjag committed 2026-10-30 11:08:55 +04:00
1 parent a3c454edc1
commit 596cec1e99
2 files changed
+72 -72

No files matched your search

+1 -1
View File
@@ -196,7 +196,7 @@
], ],
), ),
), ),
], ],
), ),
), ),
( (
+71 -71
View File
@@ -10,21 +10,21 @@
header_background_color: None, header_background_color: None,
modal_background_color: None, modal_background_color: None,
modal_backdrop: false, modal_backdrop: false,
preview_label_style: (fg: "#88c0d0"), preview_label_style: (fg: "#b4befe"),
preview_metadata_group_style: (fg: "#88c0d0", modifiers: "Bold"), preview_metadata_group_style: (fg: "#b4befe", modifiers: "Bold"),
highlighted_item_style: (fg: "#88c0d0", modifiers: "Bold"), highlighted_item_style: (fg: "#89dceb", modifiers: "Bold"),
current_item_style: (fg: "#2e3440", bg: "#88c0d0", modifiers: "Bold"), current_item_style: (fg: "#11111b", bg: "#b4befe", modifiers: "Bold"),
borders_style: (fg: "#88c0d0"), borders_style: (fg: "#b4befe"),
highlight_border_style: (fg: "#88c0d0"), highlight_border_style: (fg: "#b4befe"),
symbols: ( symbols: (
song: "S", song: "S",
dir: "D", dir: "D",
playlist: "P", playlist: "P",
marker: "M", marker: "M",
ellipsis: "...", ellipsis: "...",
song_style: (fg: "#88c0d0"), song_style: (fg: "#89b4fa"),
dir_style: (fg: "#ebcb8b"), dir_style: (fg: "#a6e3a1"),
playlist_style: (fg: "#b48ead"), playlist_style: (fg: "#cba6f7"),
), ),
level_styles: ( level_styles: (
info: (fg: "blue", bg: "black"), info: (fg: "blue", bg: "black"),
@@ -35,20 +35,20 @@
), ),
progress_bar: ( progress_bar: (
symbols: ["█", "█", "█", "█", "█"], symbols: ["█", "█", "█", "█", "█"],
track_style: (fg: "#4c566a"), track_style: (fg: "#313244"),
elapsed_style: (fg: "#88c0d0"), elapsed_style: (fg: "#74c7ec"),
thumb_style: (fg: "#5e81ac"), thumb_style: (fg: "#89b4fa"),
use_track_when_empty: true, use_track_when_empty: true,
), ),
scrollbar: ( scrollbar: (
symbols: ["│", "█", "", ""], symbols: ["│", "█", "", ""],
track_style: (), track_style: (),
ends_style: (), ends_style: (),
thumb_style: (fg: "#88c0d0"), thumb_style: (fg: "#b4befe"),
), ),
tab_bar: ( tab_bar: (
active_style: (fg: "#2e3440", bg: "#88c0d0"), active_style: (fg: "#181825", bg: "#94e2d5"),
inactive_style: (fg: "#eceff4", bg: "#2e3440"),), inactive_style: (fg: "#cdd6f4", bg: "#1e1e2e"),),
lyrics: ( lyrics: (
timestamp: false timestamp: false
), ),
@@ -70,32 +70,32 @@
], ],
song_table_format: [ song_table_format: [
( (
prop: (kind: Property(Artist), style: (fg: "#eceff4"), prop: (kind: Property(Artist), style: (fg: "#cdd6f4"),
default: (kind: Text("unknown"), style: (fg: "#eceff4")) 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%", width: "20%",
), ),
( (
prop: (kind: Property(Title), style: (fg: "#eceff4"), prop: (kind: Property(Title), style: (fg: "#cdd6f4"),
default: (kind: Text("unknown"), style: (fg: "#eceff4")) 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%", width: "35%",
), ),
( (
prop: (kind: Property(Album), style: (fg: "#eceff4"), prop: (kind: Property(Album), style: (fg: "#bac2de"),
default: (kind: Text("unknown"), style: (fg: "#eceff4")) default: (kind: Text("unknown"), style: (fg: "#bac2de"))
), ),
label_prop: (kind: Text("album"), style: (fg: "#b48ead", modifiers: "Bold")), label_prop: (kind: Text("album"), style: (fg: "#fab387", modifiers: "Bold")),
width: "30%", width: "35%",
), ),
( (
prop: (kind: Property(Duration), style: (fg: "#eceff4"), prop: (kind: Property(Duration), style: (fg: "#a6adc8"),
default: (kind: Text("-"), style: (fg: "#eceff4")) default: (kind: Text("-"), style: (fg: "#a6adc8"))
), ),
label_prop: (kind: Text("duration"), style: (fg: "#ebcb8b", modifiers: "Bold")), label_prop: (kind: Text("duration"), style: (fg: "#cba6f7", modifiers: "Bold")),
width: "15%", width: "10%",
alignment: Right, alignment: Right,
), ),
], ],
@@ -161,59 +161,59 @@
), ),
"state": Pane(Property( "state": Pane(Property(
content: [ content: [
(kind: Text("state: "), style: (fg: "#88c0d0", modifiers: "Bold")), (kind: Text("state: "), style: (fg: "#94e2d5", modifiers: "Bold")),
(kind: Property(Status(StateV2( ))), style: (fg: "#eceff4")), (kind: Property(Status(StateV2( ))), style: (fg: "#bac2de")),
], align: Left, scroll_speed: 1 ], align: Left, scroll_speed: 1
)), )),
"artist": Pane(Property( "artist": Pane(Property(
content: [ content: [
(kind: Text("artist: "), style: (fg: "#88c0d0", modifiers: "Bold")), (kind: Text("artist: "), style: (fg: "#94e2d5", modifiers: "Bold")),
(kind: Property(Song(Artist)), style: (fg: "#eceff4"), (kind: Property(Song(Artist)), style: (fg: "#bac2de"),
default: (kind: Text("unknown"), style: (fg: "#eceff4"))), default: (kind: Text("unknown"), style: (fg: "#bac2de"))),
], align: Left, scroll_speed: 1 ], align: Left, scroll_speed: 1
)), )),
"album": Pane(Property( "album": Pane(Property(
content: [ content: [
(kind: Text("album: "), style: (fg: "#88c0d0", modifiers: "Bold")), (kind: Text("album: "), style: (fg: "#94e2d5", modifiers: "Bold")),
(kind: Property(Song(Album)), style: (fg: "#eceff4"), (kind: Property(Song(Album)), style: (fg: "#bac2de"),
default: (kind: Text("unknown"), style: (fg: "#eceff4"))), default: (kind: Text("unknown"), style: (fg: "#bac2de"))),
], align: Left, scroll_speed: 1 ], align: Left, scroll_speed: 1
)), )),
"track": Pane(Property( "track": Pane(Property(
content: [ content: [
(kind: Text("track: "), style: (fg: "#88c0d0", modifiers: "Bold")), (kind: Text("track: "), style: (fg: "#94e2d5", modifiers: "Bold")),
(kind: Property(Song(Track)), style: (fg: "#eceff4"), (kind: Property(Song(Track)), style: (fg: "#bac2de"),
default: (kind: Text("unknown"), style: (fg: "#eceff4"))), default: (kind: Text("unknown"), style: (fg: "#bac2de"))),
], align: Left, scroll_speed: 1 ], align: Left, scroll_speed: 1
)), )),
"title": Pane(Property( "title": Pane(Property(
content: [ content: [
(kind: Text("title: "), style: (fg: "#88c0d0", modifiers: "Bold")), (kind: Text("title: "), style: (fg: "#94e2d5", modifiers: "Bold")),
(kind: Property(Song(Title)), style: (fg: "#eceff4"), (kind: Property(Song(Title)), style: (fg: "#bac2de"),
default: (kind: Text("unknown"), style: (fg: "#eceff4"))), default: (kind: Text("unknown"), style: (fg: "#bac2de"))),
], align: Left, scroll_speed: 1 ], align: Left, scroll_speed: 1
)), )),
"date": Pane(Property( "date": Pane(Property(
content: [ content: [
(kind: Text("date: "), style: (fg: "#88c0d0", modifiers: "Bold")), (kind: Text("date: "), style: (fg: "#94e2d5", modifiers: "Bold")),
(kind: Property(Song(Other("date"))), style: (fg: "#eceff4"), (kind: Property(Song(Other("date"))), style: (fg: "#bac2de"),
default: (kind: Text("unknown"), style: (fg: "#eceff4"))), default: (kind: Text("unknown"), style: (fg: "#bac2de"))),
], align: Left, scroll_speed: 1 ], align: Left, scroll_speed: 1
)), )),
"elapsed": Pane(Property( "elapsed": Pane(Property(
content: [ content: [
(kind: Text("elapsed: "), style: (fg: "#88c0d0", modifiers: "Bold")), (kind: Text("elapsed: "), style: (fg: "#94e2d5", modifiers: "Bold")),
(kind: Property(Status(Elapsed)), style: (fg: "#eceff4")), (kind: Property(Status(Elapsed)), style: (fg: "#bac2de")),
(kind: Text(" / ")), (kind: Text(" / ")),
(kind: Property(Status(Duration)), style: (fg: "#eceff4")), (kind: Property(Status(Duration)), style: (fg: "#bac2de")),
], ],
align: Left, scroll_speed: 1 align: Left, scroll_speed: 1
)), )),
"bitrate": Pane(Property( "bitrate": Pane(Property(
content: [ content: [
(kind: Text("bitrate: "), style: (fg: "#88c0d0", modifiers: "Bold")), (kind: Text("bitrate: "), style: (fg: "#94e2d5", modifiers: "Bold")),
(kind: Property(Status(Bitrate)), style: (fg: "#eceff4")), (kind: Property(Status(Bitrate)), style: (fg: "#bac2de")),
(kind: Text(" kbps"), style: (fg: "#eceff4")), (kind: Text(" kbps"), style: (fg: "#bac2de")),
], ],
align: Left, scroll_speed: 1 align: Left, scroll_speed: 1
)), )),
@@ -222,9 +222,9 @@
panes: [ panes: [
(size: "100%", pane: Pane(Volume(kind: Slider( (size: "100%", pane: Pane(Volume(kind: Slider(
symbols: (filled: "█", thumb: "█", track: "█"), symbols: (filled: "█", thumb: "█", track: "█"),
filled_style: (fg: "#d08770"), filled_style: (fg: "#f5e0dc"),
track_style: (fg: "#4c566a"), track_style: (fg: "#313244"),
thumb_style: (fg: "#bf616a"), thumb_style: (fg: "#f2cdcd"),
)))), )))),
], align: Right ], align: Right
), ),
@@ -243,39 +243,39 @@
size: "1", size: "1",
pane: Pane(Empty()) pane: Pane(Empty())
), ),
( (
size: "6", size: "6",
pane: Pane(Property(content: [ pane: Pane(Property(content: [
(kind: Text(" "), style: (bg: "#4c566a")), (kind: Text(" "), style: (bg: "#313244")),
(kind: Property(Status(RepeatV2( (kind: Property(Status(RepeatV2(
on_label: "z", on_label: "z",
off_label: "z", off_label: "z",
on_style: (fg: "#ebcb8b", bg: "#4c566a", modifiers: "Bold"), on_style: (fg: "#fab387", bg: "#313244", modifiers: "Bold"),
off_style: (fg: "#eceff4", bg: "#4c566a"), off_style: (fg: "#cdd6f4", bg: "#313244"),
)))), )))),
(kind: Property(Status(RandomV2( (kind: Property(Status(RandomV2(
on_label: "x", on_label: "x",
off_label: "x", off_label: "x",
on_style: (fg: "#ebcb8b", bg: "#4c566a", modifiers: "Bold"), on_style: (fg: "#fab387", bg: "#313244", modifiers: "Bold"),
off_style: (fg: "#eceff4", bg: "#4c566a"), off_style: (fg: "#cdd6f4", bg: "#313244"),
)))), )))),
(kind: Property(Status(ConsumeV2( (kind: Property(Status(ConsumeV2(
on_label: "c", on_label: "c",
off_label: "c", off_label: "c",
oneshot_label: "c", oneshot_label: "c",
on_style: (fg: "#ebcb8b", bg: "#4c566a", modifiers: "Bold"), on_style: (fg: "#fab387", bg: "#313244", modifiers: "Bold"),
off_style: (fg: "#eceff4", bg: "#4c566a"), off_style: (fg: "#cdd6f4", bg: "#313244"),
oneshot_style: (fg: "#d08770", bg: "#4c566a", modifiers: "Bold"), oneshot_style: (fg: "#f38ba8", bg: "#313244", modifiers: "Bold"),
)))), )))),
(kind: Property(Status(SingleV2( (kind: Property(Status(SingleV2(
on_label: "v", on_label: "v",
off_label: "v", off_label: "v",
oneshot_label: "v", oneshot_label: "v",
on_style: (fg: "#ebcb8b", bg: "#4c566a", modifiers: "Bold"), on_style: (fg: "#fab387", bg: "#313244", modifiers: "Bold"),
off_style: (fg: "#eceff4", bg: "#4c566a"), off_style: (fg: "#cdd6f4", bg: "#313244"),
oneshot_style: (fg: "#d08770", bg: "#4c566a", modifiers: "Bold"), oneshot_style: (fg: "#f38ba8", bg: "#313244", modifiers: "Bold"),
)))), )))),
(kind: Text(" "), style: (bg: "#4c566a")), (kind: Text(" "), style: (bg: "#313244")),
], ],
align: Right align: Right
)) ))
@@ -285,8 +285,8 @@
"input_mode": Pane(Property( "input_mode": Pane(Property(
content: [ content: [
(kind: Transform(Replace(content: (kind: Property(Status(InputMode()))), replacements: [ (kind: Transform(Replace(content: (kind: Property(Status(InputMode()))), replacements: [
(match: "Normal", replace: (kind: Text(" normal "), style: (fg: "#eceff4", bg: "#4c566a"))), (match: "Normal", replace: (kind: Text(" normal "), style: (fg: "#cdd6f4", bg: "#313244"))),
(match: "Insert", replace: (kind: Text(" insert "), style: (fg: "#2e3440", bg: "#a3be8c"))), (match: "Insert", replace: (kind: Text(" insert "), style: (fg: "#11111b", bg: "#94e2d5"))),
]))) ])))
], align: Left ], align: Left
)), )),