diff --git a/copyparty/web/browser.css b/copyparty/web/browser.css index b0da13ca..25daaa64 100644 --- a/copyparty/web/browser.css +++ b/copyparty/web/browser.css @@ -10,6 +10,10 @@ --fg-max: #fff; --bg-max: #080808; --a: #fc5; + + /* --fg-max: #d1d7e9; + --bg-max: #0a0b0e; + --a: #27efc9; */ --fg: color-mix(var(--fg-max) 90%, var(--bg-max) 10%); --fg-weak: color-mix(var(--fg-max) 70%, var(--bg-max) 30%); diff --git a/copyparty/web/browser.html b/copyparty/web/browser.html index d34e7723..82bd75c2 100644 --- a/copyparty/web/browser.html +++ b/copyparty/web/browser.html @@ -19,7 +19,7 @@
diff --git a/copyparty/web/browser.js b/copyparty/web/browser.js index 755d20f7..ac41a9ca 100644 --- a/copyparty/web/browser.js +++ b/copyparty/web/browser.js @@ -7765,6 +7765,7 @@ var treectl = (function () { if (res.ufavico && (!favico.en || !ebi('icot').value)) { while (qsr('head>link[rel~="icon"]')) { } document.head.insertAdjacentHTML('beforeend', res.ufavico); + ebi('favico_onpage').innerHTML = res.ufavico; } if (this.hpush && !showfile.active()) diff --git a/copyparty/web/util.js b/copyparty/web/util.js index 1eecff84..9542270c 100644 --- a/copyparty/web/util.js +++ b/copyparty/web/util.js @@ -2269,6 +2269,8 @@ var favico = (function () { document.head.appendChild(r.tag); } r.tag.href = 'data:image/svg+xml;base64,' + b64; + + ebi('favico_onpage').innerHTML = r.txt; }; r.init = function () { @@ -2277,9 +2279,6 @@ var favico = (function () { fg = dv.length < 2 ? 'fc5' : dv[1].toLowerCase() == 'none' ? '' : dv[1], bg = dv.length < 3 ? '222' : dv[2].toLowerCase() == 'none' ? '' : dv[2]; - if(dv.length > 0) - ebi('srv_name')?.prepend(dv[0] + ' '); - scfg_bind(r, 'txt', 'icot', dv[0], r.upd); scfg_bind(r, 'fg', 'icof', fg, r.upd); scfg_bind(r, 'bg', 'icob', bg, r.upd);