mirror of
https://github.com/9001/copyparty.git
synced 2026-06-19 04:32:26 -06:00
reset accent color properly when empty
This commit is contained in:
parent
f251820b2b
commit
37eb20d914
|
|
@ -1347,7 +1347,7 @@ function parseColor (strColor) {
|
|||
function setColor (color) {
|
||||
accent = color;
|
||||
swrite('accent', accent);
|
||||
var a = accent || '#fc5';
|
||||
var a = accent || '';
|
||||
console.log('accent color set to: ' + a);
|
||||
document.documentElement.style.setProperty('--a', a);
|
||||
pbar.drawbuf();
|
||||
|
|
|
|||
Loading…
Reference in a new issue