1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-24 21:44:25 +00:00

integrate palette colors with progress bar

This commit is contained in:
d47081 2023-11-11 19:27:29 +02:00
parent 6db880f3ea
commit 728d2f0b89

View File

@ -47,10 +47,10 @@ window.qBittorrent.ProgressBar = (function() {
'value': $pick(value, 0), 'value': $pick(value, 0),
'width': 0, 'width': 0,
'height': 0, 'height': 0,
'darkbg': '#006', 'darkbg': 'var(--color-background-blue)',
'darkfg': '#fff', 'darkfg': 'var(--color-text-white)',
'lightbg': '#fff', 'lightbg': 'var(--color-background-default)',
'lightfg': '#000' 'lightfg': 'var(--color-text-default)'
}; };
if (parameters && $type(parameters) == 'object') if (parameters && $type(parameters) == 'object')
$extend(vals, parameters); $extend(vals, parameters);
@ -60,7 +60,7 @@ window.qBittorrent.ProgressBar = (function() {
'id': vals.id, 'id': vals.id,
'class': 'progressbar_wrapper', 'class': 'progressbar_wrapper',
'styles': { 'styles': {
'border': '1px solid #000', 'border': '1px solid var(--color-border-default)',
'width': vals.width, 'width': vals.width,
'height': vals.height, 'height': vals.height,
'position': 'relative', 'position': 'relative',