Add dark theme for WebUI

Closes #19844.
PR #19901.

---------

Co-authored-by: d47081 <localhost>
Co-authored-by: Chocobo1 <Chocobo1@users.noreply.github.com>
This commit is contained in:
d47081
2023-12-12 06:23:40 +02:00
committed by GitHub
parent cc563d9f78
commit 9d90141c29
24 changed files with 459 additions and 490 deletions

View File

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