From 3b916d415f9b28a548f06280b8941abd20e1b524 Mon Sep 17 00:00:00 2001 From: Til Schmitter Date: Thu, 18 Jun 2026 12:19:53 +0200 Subject: [PATCH] set PWA border to accent color --- copyparty/web/manifest.json | 2 +- copyparty/web/util.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/copyparty/web/manifest.json b/copyparty/web/manifest.json index 084538de..c752af05 100644 --- a/copyparty/web/manifest.json +++ b/copyparty/web/manifest.json @@ -12,7 +12,7 @@ "start_url": "/?utm_medium=PWA&utm_source=launcher", "display": "minimal-ui", "orientation": "any", - "theme_color": "#fc5", + "theme_color": "#222", "background_color": "#222", "share_target": { "action": "/?utm_medium=PWA&utm_source=share-target&share-target", diff --git a/copyparty/web/util.js b/copyparty/web/util.js index 2c7c7a71..f64381d5 100644 --- a/copyparty/web/util.js +++ b/copyparty/web/util.js @@ -2353,7 +2353,7 @@ function bchrome() { return; try { - v = cprop('--bg-u3'); + v = cprop('--a'); } catch (ex) { } o.setAttribute('content', v ? v : document.documentElement.className.indexOf('y') + 1 ? '#eee' : '#333');