diff --git a/copyparty/ico.py b/copyparty/ico.py index 021a2c4a..5c33a8fd 100644 --- a/copyparty/ico.py +++ b/copyparty/ico.py @@ -149,7 +149,8 @@ class Ico(object): svg = """\ - + """ svg = svg.format(accent) diff --git a/copyparty/web/browser.js b/copyparty/web/browser.js index f6004c1b..936bd79d 100644 --- a/copyparty/web/browser.js +++ b/copyparty/web/browser.js @@ -6448,7 +6448,7 @@ var thegrid = (function () { ihref += "&raster"; var accent = getComputedStyle(document.body).getPropertyValue('--a'); - ihref += '&a=' + accent; + ihref += '&a=' + parseColor(accent); html.push('' +