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",
"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",

View file

@ -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');