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

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