mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-09 14:27:56 +00:00
integrate palette colors with progress bar
This commit is contained in:
parent
6db880f3ea
commit
728d2f0b89
@ -47,10 +47,10 @@ window.qBittorrent.ProgressBar = (function() {
|
||||
'value': $pick(value, 0),
|
||||
'width': 0,
|
||||
'height': 0,
|
||||
'darkbg': '#006',
|
||||
'darkfg': '#fff',
|
||||
'lightbg': '#fff',
|
||||
'lightfg': '#000'
|
||||
'darkbg': 'var(--color-background-blue)',
|
||||
'darkfg': 'var(--color-text-white)',
|
||||
'lightbg': 'var(--color-background-default)',
|
||||
'lightfg': 'var(--color-text-default)'
|
||||
};
|
||||
if (parameters && $type(parameters) == 'object')
|
||||
$extend(vals, parameters);
|
||||
@ -60,7 +60,7 @@ window.qBittorrent.ProgressBar = (function() {
|
||||
'id': vals.id,
|
||||
'class': 'progressbar_wrapper',
|
||||
'styles': {
|
||||
'border': '1px solid #000',
|
||||
'border': '1px solid var(--color-border-default)',
|
||||
'width': vals.width,
|
||||
'height': vals.height,
|
||||
'position': 'relative',
|
||||
|
Loading…
Reference in New Issue
Block a user