From 4623db14a04ea444a56256920ccf32bed3a49486 Mon Sep 17 00:00:00 2001 From: Til Schmitter Date: Sat, 2 May 2026 15:17:17 +0200 Subject: [PATCH] unify default / flat theme default accent colors + set flat as default for FF mobile --- copyparty/web/browser.css | 4 ++-- copyparty/web/browser.js | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/copyparty/web/browser.css b/copyparty/web/browser.css index 44290e85..f605da3e 100644 --- a/copyparty/web/browser.css +++ b/copyparty/web/browser.css @@ -163,10 +163,10 @@ html.b { --mp-b-bg: transparent; } html.bz { - --a: #18cdaf; + --a: #fc5; } html.by { - --a: #117dc0; + --a: #07c; --bg: var(--bg-u2); } html.c { diff --git a/copyparty/web/browser.js b/copyparty/web/browser.js index 57f38c0d..797d81f7 100644 --- a/copyparty/web/browser.js +++ b/copyparty/web/browser.js @@ -9129,7 +9129,8 @@ var settheme = (function () { '7':['▲', 'font-size:3em'], //cp437 }; - theme = sread('cpp_thm') || 'a'; + // set default theme to flat on firefox mobile to avoid glitchy gradients (2026-04-26) + theme = sread('cpp_thm') || (FIREFOX && MOBILE ? 'b' : 'a'); if (!/^[a-x][yz]/.exec(theme)) theme = dtheme;