From 728d2f0b892db16551c4aad1c5820070e05a73aa Mon Sep 17 00:00:00 2001 From: d47081 Date: Sat, 11 Nov 2023 19:27:29 +0200 Subject: [PATCH] integrate palette colors with progress bar --- src/webui/www/private/scripts/progressbar.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/webui/www/private/scripts/progressbar.js b/src/webui/www/private/scripts/progressbar.js index e83746bd8..e2d542144 100644 --- a/src/webui/www/private/scripts/progressbar.js +++ b/src/webui/www/private/scripts/progressbar.js @@ -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',