1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-02-03 18:34:28 +00:00

draft piecesbar colors

This commit is contained in:
d47081 2023-11-11 19:55:07 +02:00
parent 728d2f0b89
commit cc06eff786

View File

@ -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'))