mirror of
https://github.com/9001/copyparty.git
synced 2026-06-18 20:22:27 -06:00
set PWA border to accent color
This commit is contained in:
parent
4f02ee941c
commit
3b916d415f
|
|
@ -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",
|
||||||
|
|
|
||||||
|
|
@ -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');
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue