Skip to content

Commit a024057

Browse files
committed
refactor: update default colors and opacity
1 parent 31c7d8d commit a024057

3 files changed

Lines changed: 34 additions & 34 deletions

File tree

docs/USER_OPTS.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -145,11 +145,11 @@ watch-later-options-remove=osd-margin-y
145145
| windowcontrols_max_hover | `#F8BC3A` | color of maximize window controls on hover |
146146
| windowcontrols_min_hover | `#43CB44` | color of minimize window controls on hover |
147147
| title_color | `#FFFFFF` | color of the title (above seekbar) |
148-
| seekbarfg_color | `#FB8C00` | color of the seekbar progress |
149-
| seekbarbg_color | `#94754F` | color of the remaining seekbar |
150-
| seekbar_cache_color | `#918F8E` | color of the cache ranges on the seekbar |
151-
| seek_handle_color | `#94754F` | color of the seekbar handle |
152-
| seek_handle_border_color | `#FB8C00` | inner border color drawn inside the seekbar handle |
148+
| seekbar_cache_color | `#FFFFFF` | color of the cache ranges on the seekbar |
149+
| seekbarfg_color | `#FF8232` | color of the seekbar progress |
150+
| seekbarbg_color | `#999999` | color of the remaining seekbar |
151+
| seek_handle_color | `#FF8232` | color of the seekbar handle |
152+
| seek_handle_border_color | `#FF8232` | inner border color drawn inside the seekbar handle |
153153
| volumebar_match_seek_color | no | match volume bar color with seekbar color (ignores `side_buttons_color`) |
154154
| time_color | `#FFFFFF` | color of the timestamps (below seekbar) |
155155
| chapter_title_color | `#FFFFFF` | color of the chapter title (above seekbar) |
@@ -158,10 +158,10 @@ watch-later-options-remove=osd-margin-y
158158
| middle_buttons_color | `#FFFFFF` | color of the middle buttons (skip, jump, chapter, etc.) |
159159
| playpause_color | `#FFFFFF` | color of the play/pause button |
160160
| held_element_color | `#999999` | color of the element when held down (pressed) |
161-
| hover_effect_color | `#FB8C00` | color of a hovered button when `hover_effect` includes `"color"` |
161+
| hover_effect_color | `#FF8232` | color of a hovered button when `hover_effect` includes `"color"` |
162162
| thumbnail_box_color | `#111111` | color of the background for thumbnail box |
163163
| thumbnail_box_outline | `#404040` | color of the border outline for thumbnail box |
164-
| nibble_color | `#FB8C00` | color of chapter nibbles on the seekbar |
164+
| nibble_color | `#FF8232` | color of chapter nibbles on the seekbar |
165165
| nibble_current_color | `#FFFFFF` | color of the current chapter nibble on the seekbar |
166166
| osc_fade_strength | 100 | strength of the OSC background fade (0 to disable) |
167167
| fade_blur_strength | 100 | blur strength for the OSC alpha fade. caution: high values can take a lot of CPU time to render |
@@ -189,8 +189,8 @@ watch-later-options-remove=osd-margin-y
189189
| Option | Value | Description |
190190
| -------------------------- | -------- | ----------------------------------------------------------------------- |
191191
| seek_handle_size | 0.8 | size ratio of the seekbar handle (range: 0 ~ 1) |
192-
| seek_handle_border_size | 0.35 | border thickness as a fraction of the handle radius |
193-
| seek_handle_border_hover_size | 0.25 | border thickness when handle is hovered |
192+
| seek_handle_border_size | 0.42 | border thickness as a fraction of the handle radius |
193+
| seek_handle_border_hover_size | 0.31 | border thickness when handle is hovered |
194194
| seekbar_height | medium | seekbar height preset: `small`, `medium`, `large`, `xlarge` |
195195
| seekrange | yes | show seek range overlay |
196196
| seekrangealpha | 150 | transparency of the seek range |

modernz.conf

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -218,16 +218,16 @@ windowcontrols_min_hover=#43CB44
218218
title_color=#FFFFFF
219219
# color of the cache information
220220
cache_info_color=#FFFFFF
221+
# color of the cache ranges on the seekbar
222+
seekbar_cache_color=#FFFFFF
221223
# color of the seekbar progress
222-
seekbarfg_color=#FB8C00
224+
seekbarfg_color=#FF8232
223225
# color of the remaining seekbar
224-
seekbarbg_color=#94754F
225-
# color of the cache ranges on the seekbar
226-
seekbar_cache_color=#918F8E
226+
seekbarbg_color=#999999
227227
# color of the seekbar handle
228-
seek_handle_color=#94754F
228+
seek_handle_color=#FF8232
229229
# inner border color drawn inside the seekbar handle
230-
seek_handle_border_color=#FB8C00
230+
seek_handle_border_color=#454545
231231
# match volume bar color with seekbar color (ignores side_buttons_color)
232232
volumebar_match_seek_color=no
233233
# color of the timestamps (below seekbar)
@@ -243,13 +243,13 @@ playpause_color=#FFFFFF
243243
# color of the element when held down (pressed)
244244
held_element_color=#999999
245245
# color of a hovered button when hover_effect includes "color"
246-
hover_effect_color=#FB8C00
246+
hover_effect_color=#FF8232
247247
# color of the background for thumbnail box
248248
thumbnail_box_color=#111111
249249
# color of the border outline for thumbnail box
250250
thumbnail_box_outline=#404040
251251
# color of chapter nibbles on the seekbar
252-
nibble_color=#FB8C00
252+
nibble_color=#FF8232
253253
# color of the current chapter nibble on the seekbar
254254
nibble_current_color=#FFFFFF
255255

@@ -290,9 +290,9 @@ tooltip_hints=yes
290290
# size ratio of the seekbar handle (range: 0 ~ 1)
291291
seek_handle_size=0.8
292292
# border thickness as a fraction of the handle radius
293-
seek_handle_border_size=0.35
293+
seek_handle_border_size=0.42
294294
# border thickness when handle is hovered
295-
seek_handle_border_hover_size=0.25
295+
seek_handle_border_hover_size=0.31
296296
# seekbar height preset: small, medium, large, xlarge
297297
seekbar_height=medium
298298
# show seek range overlay

modernz.lua

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -140,22 +140,22 @@ local user_opts = {
140140
windowcontrols_min_hover = "#43CB44", -- color of minimize window controls on hover
141141
title_color = "#FFFFFF", -- color of the title (above seekbar)
142142
cache_info_color = "#FFFFFF", -- color of the cache information
143-
seekbarfg_color = "#FB8C00", -- color of the seekbar progress
144-
seekbarbg_color = "#94754F", -- color of the remaining seekbar
145-
seekbar_cache_color = "#918F8E", -- color of the cache ranges on the seekbar
146-
seek_handle_color = "#94754F", -- color of the seekbar handle
147-
seek_handle_border_color = "#FB8C00", -- inner border color drawn inside the seekbar handle (set to "" to disable)
143+
seekbar_cache_color = "#FFFFFF", -- color of the cache ranges on the seekbar
144+
seekbarfg_color = "#FF8232", -- color of the seekbar progress
145+
seekbarbg_color = "#999999", -- color of the remaining seekbar
146+
seek_handle_color = "#FF8232", -- color of the seekbar handle
147+
seek_handle_border_color = "#454545", -- inner border color drawn inside the seekbar handle (set to "" to disable)
148148
volumebar_match_seek_color = false, -- match volume bar color with seekbar color (ignores side_buttons_color)
149149
time_color = "#FFFFFF", -- color of the timestamps (below seekbar)
150150
chapter_title_color = "#FFFFFF", -- color of the chapter title (above seekbar)
151151
side_buttons_color = "#FFFFFF", -- color of the side buttons (audio, subtitles, playlist, etc.)
152152
middle_buttons_color = "#FFFFFF", -- color of the middle buttons (skip, jump, chapter, etc.)
153153
playpause_color = "#FFFFFF", -- color of the play/pause button
154154
held_element_color = "#999999", -- color of the element when held down (pressed)
155-
hover_effect_color = "#FB8C00", -- color of a hovered button when hover_effect includes "color"
155+
hover_effect_color = "#FF8232", -- color of a hovered button when hover_effect includes "color"
156156
thumbnail_box_color = "#111111", -- color of the background for thumbnail box
157157
thumbnail_box_outline = "#404040", -- color of the border outline for thumbnail box
158-
nibble_color = "#FB8C00", -- color of chapter nibbles on the seekbar
158+
nibble_color = "#FF8232", -- color of chapter nibbles on the seekbar
159159
nibble_current_color = "#FFFFFF", -- color of the current chapter nibble on the seekbar
160160

161161
osc_fade_strength = 100, -- strength of the OSC background fade (0 to disable)
@@ -178,8 +178,8 @@ local user_opts = {
178178

179179
-- Progress bar settings
180180
seek_handle_size = 0.8, -- size ratio of the seek handle (range: 0 ~ 1)
181-
seek_handle_border_size = 0.35, -- border thickness as a fraction of the handle radius
182-
seek_handle_border_hover_size = 0.25, -- border thickness when handle is hovered (set equal to seek_handle_border_size to disable)
181+
seek_handle_border_size = 0.42, -- border thickness as a fraction of the handle radius
182+
seek_handle_border_hover_size = 0.31, -- border thickness when handle is hovered (set equal to seek_handle_border_size to disable)
183183
seekbar_height = "medium", -- seekbar height preset: "small", "medium", "large", "xlarge"
184184
seekrange = true, -- show seek range overlay
185185
seekrangealpha = 150, -- transparency of the seek range
@@ -1424,7 +1424,7 @@ local function draw_seekbar_nibbles(element, elem_ass)
14241424

14251425
if slider_lo.nibbles_style == "gap" and element.name == "seekbar" then
14261426
local radius = slider_lo.radius
1427-
local bg_alpha = 0
1427+
local bg_alpha = 128
14281428
elem_ass:draw_stop()
14291429
elem_ass:merge(element.style_ass)
14301430
ass_append_alpha(elem_ass, element.layout.alpha, bg_alpha)
@@ -2187,7 +2187,7 @@ layouts["modern"] = function ()
21872187
lo.layer = 15
21882188
lo.style = osc_styles.seekbar_bg
21892189
lo.box.radius = user_opts.slider_rounded_corners and seekbar_height_style.radius or 0
2190-
lo.alpha[1] = 0
2190+
lo.alpha[1] = 128
21912191

21922192
lo = add_layout("seekbar")
21932193
local seekbar_h = 18
@@ -2319,7 +2319,7 @@ layouts["modern"] = function ()
23192319
lo = add_layout("volumebarbg")
23202320
lo.geometry = {x = start_x, y = refY - (user_opts.osc_height / 2), an = 4, w = 55, h = 4}
23212321
lo.layer = 15
2322-
lo.alpha[1] = 0
2322+
lo.alpha[1] = 128
23232323
lo.style = user_opts.volumebar_match_seek_color and osc_styles.seekbar_bg or osc_styles.volumebar_bg
23242324
lo.box.radius = user_opts.slider_rounded_corners and 2 or 0
23252325

@@ -2455,7 +2455,7 @@ layouts["modern-compact"] = function ()
24552455
lo.layer = 15
24562456
lo.style = osc_styles.seekbar_bg
24572457
lo.box.radius = user_opts.slider_rounded_corners and seekbar_height_style.radius or 0
2458-
lo.alpha[1] = 0
2458+
lo.alpha[1] = 128
24592459

24602460
lo = add_layout("seekbar")
24612461
local seekbar_h = 18
@@ -2585,7 +2585,7 @@ layouts["modern-compact"] = function ()
25852585
lo = add_layout("volumebarbg")
25862586
lo.geometry = {x = start_x, y = refY - (user_opts.osc_height / 2), an = 4, w = 55, h = 4}
25872587
lo.layer = 15
2588-
lo.alpha[1] = 0
2588+
lo.alpha[1] = 128
25892589
lo.style = user_opts.volumebar_match_seek_color and osc_styles.seekbar_bg or osc_styles.volumebar_bg
25902590
lo.box.radius = user_opts.slider_rounded_corners and 2 or 0
25912591

@@ -2709,7 +2709,7 @@ layouts["modern-image"] = function ()
27092709
lo = add_layout("zoom_control_bg")
27102710
lo.geometry = {x = zx + 25, y = refY - (user_opts.osc_height / 2), an = 4, w = 80, h = 4}
27112711
lo.layer = 15
2712-
lo.alpha[1] = 0
2712+
lo.alpha[1] = 128
27132713
lo.style = osc_styles.volumebar_bg
27142714
lo.box.radius = user_opts.slider_rounded_corners and 2 or 0
27152715

0 commit comments

Comments
 (0)