set PWA border to accent color

This commit is contained in:
Til Schmitter 2026-06-18 12:19:53 +02:00
parent 4f02ee941c
commit 3b916d415f
2 changed files with 2 additions and 2 deletions

View file

@ -12,7 +12,7 @@
"start_url": "/?utm_medium=PWA&utm_source=launcher", "start_url": "/?utm_medium=PWA&utm_source=launcher",
"display": "minimal-ui", "display": "minimal-ui",
"orientation": "any", "orientation": "any",
"theme_color": "#fc5", "theme_color": "#222",
"background_color": "#222", "background_color": "#222",
"share_target": { "share_target": {
"action": "/?utm_medium=PWA&utm_source=share-target&share-target", "action": "/?utm_medium=PWA&utm_source=share-target&share-target",

View file

@ -2353,7 +2353,7 @@ function bchrome() {
return; return;
try { try {
v = cprop('--bg-u3'); v = cprop('--a');
} }
catch (ex) { } catch (ex) { }
o.setAttribute('content', v ? v : document.documentElement.className.indexOf('y') + 1 ? '#eee' : '#333'); o.setAttribute('content', v ? v : document.documentElement.className.indexOf('y') + 1 ? '#eee' : '#333');