Skip to content

Default theme

theme.ron
1
#![enable(implicit_some)]
2
#![enable(unwrap_newtypes)]
3
#![enable(unwrap_variant_newtypes)]
4
(
5
album_art_position: Left,
6
album_art_width_percent: 40,
7
default_album_art_path: None,
8
show_song_table_header: true,
9
draw_borders: true,
10
browser_column_widths: [20, 38, 42],
11
background_color: None,
12
text_color: None,
13
header_background_color: None,
14
modal_background_color: None,
15
tab_bar: (
16
enabled: true,
17
active_style: (fg: "black", bg: "blue", modifiers: "Bold"),
18
inactive_style: (),
19
),
20
highlighted_item_style: (fg: "blue", modifiers: "Bold"),
21
current_item_style: (fg: "black", bg: "blue", modifiers: "Bold"),
22
borders_style: (fg: "blue"),
23
highlight_border_style: (fg: "blue"),
24
symbols: (song: "S", dir: "D", marker: "M"),
25
progress_bar: (
26
symbols: ["-", ">", " "],
27
track_style: (fg: "#1e2030"),
28
elapsed_style: (fg: "blue"),
29
thumb_style: (fg: "blue", bg: "#1e2030"),
30
),
31
scrollbar: (
32
symbols: ["", "", "", ""],
33
track_style: (),
34
ends_style: (),
35
thumb_style: (fg: "blue"),
36
),
37
song_table_format: [
38
(
39
prop: (kind: Property(Artist),
40
default: (kind: Text("Unknown"))
41
),
42
width_percent: 20,
43
),
44
(
45
prop: (kind: Property(Title),
46
default: (kind: Text("Unknown"))
47
),
48
width_percent: 35,
49
),
50
(
51
prop: (kind: Property(Album), style: (fg: "white"),
52
default: (kind: Text("Unknown Album"), style: (fg: "white"))
53
),
54
width_percent: 30,
55
),
56
(
57
prop: (kind: Property(Duration),
58
default: (kind: Text("-"))
59
),
60
width_percent: 15,
61
alignment: Right,
62
),
63
],
64
header: (
65
rows: [
66
(
67
left: [
68
(kind: Text("["), style: (fg: "yellow", modifiers: "Bold")),
69
(kind: Property(Status(State)), style: (fg: "yellow", modifiers: "Bold")),
70
(kind: Text("]"), style: (fg: "yellow", modifiers: "Bold"))
71
],
72
center: [
73
(kind: Property(Song(Title)), style: (modifiers: "Bold"),
74
default: (kind: Text("No Song"), style: (modifiers: "Bold"))
75
)
76
],
77
right: [
78
(kind: Property(Widget(Volume)), style: (fg: "blue"))
79
]
80
),
81
(
82
left: [
83
(kind: Property(Status(Elapsed))),
84
(kind: Text(" / ")),
85
(kind: Property(Status(Duration))),
86
(kind: Text(" (")),
87
(kind: Property(Status(Bitrate))),
88
(kind: Text(" kbps)"))
89
],
90
center: [
91
(kind: Property(Song(Artist)), style: (fg: "yellow", modifiers: "Bold"),
92
default: (kind: Text("Unknown"), style: (fg: "yellow", modifiers: "Bold"))
93
),
94
(kind: Text(" - ")),
95
(kind: Property(Song(Album)),
96
default: (kind: Text("Unknown Album"))
97
)
98
],
99
right: [
100
(
101
kind: Property(Widget(States(
102
active_style: (fg: "white", modifiers: "Bold"),
103
separator_style: (fg: "white")))
104
),
105
style: (fg: "dark_gray")
106
),
107
]
108
),
109
],
110
),
111
browser_song_format: [
112
(
113
kind: Group([
114
(kind: Property(Track)),
115
(kind: Text(" ")),
116
])
117
),
118
(
119
kind: Group([
120
(kind: Property(Artist)),
121
(kind: Text(" - ")),
122
(kind: Property(Title)),
123
]),
124
default: (kind: Property(Filename))
125
),
126
],
127
)