mirror of
https://github.com/9001/copyparty.git
synced 2026-06-21 13:42:29 -06:00
unify default / flat theme default accent colors + set flat as default for FF mobile
This commit is contained in:
parent
5c97dbd34e
commit
4623db14a0
|
|
@ -163,10 +163,10 @@ html.b {
|
||||||
--mp-b-bg: transparent;
|
--mp-b-bg: transparent;
|
||||||
}
|
}
|
||||||
html.bz {
|
html.bz {
|
||||||
--a: #18cdaf;
|
--a: #fc5;
|
||||||
}
|
}
|
||||||
html.by {
|
html.by {
|
||||||
--a: #117dc0;
|
--a: #07c;
|
||||||
--bg: var(--bg-u2);
|
--bg: var(--bg-u2);
|
||||||
}
|
}
|
||||||
html.c {
|
html.c {
|
||||||
|
|
|
||||||
|
|
@ -9129,7 +9129,8 @@ var settheme = (function () {
|
||||||
'7':['▲', 'font-size:3em'], //cp437
|
'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))
|
if (!/^[a-x][yz]/.exec(theme))
|
||||||
theme = dtheme;
|
theme = dtheme;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue