Browse Source

draft piecesbar colors

adaptive-webui
d47081 1 year ago
parent
commit
cc06eff786
  1. 6
      src/webui/www/private/scripts/piecesbar.js

6
src/webui/www/private/scripts/piecesbar.js

@ -54,10 +54,10 @@ window.qBittorrent.PiecesBar = (() => {
'id': 'piecesbar_' + (piecesBarUniqueId++), 'id': 'piecesbar_' + (piecesBarUniqueId++),
'width': 0, 'width': 0,
'height': 0, 'height': 0,
'downloadingColor': 'green', 'downloadingColor': 'hsl(110deg 94% 27%)', // @TODO palette vars not supported for this value, apply average
'haveColor': 'blue', 'haveColor': 'hsl(210deg 55% 55%)', // @TODO palette vars not supported for this value, apply average
'borderSize': 1, 'borderSize': 1,
'borderColor': '#999' 'borderColor': 'var(--color-border-default)'
}; };
if (parameters && ($type(parameters) === 'object')) if (parameters && ($type(parameters) === 'object'))

Loading…
Cancel
Save