mirror of
https://github.com/imputnet/cobalt.git
synced 2025-01-06 07:06:02 +00:00
web: remove broken android navigation bar coloring
cuz it doesn't work
This commit is contained in:
parent
229ddb3701
commit
840bdf35b7
|
@ -50,7 +50,6 @@ body {
|
||||||
height: calc(100% + env(safe-area-inset-top) / 2);
|
height: calc(100% + env(safe-area-inset-top) / 2);
|
||||||
margin: 0;
|
margin: 0;
|
||||||
background: var(--background);
|
background: var(--background);
|
||||||
background-color: var(--background);
|
|
||||||
color: var(--accent);
|
color: var(--accent);
|
||||||
-webkit-tap-highlight-color: var(--transparent);
|
-webkit-tap-highlight-color: var(--transparent);
|
||||||
font-family: var(--font-mono);
|
font-family: var(--font-mono);
|
||||||
|
|
|
@ -168,7 +168,6 @@ const changeStatusBarColor = () => {
|
||||||
}
|
}
|
||||||
|
|
||||||
document.querySelector('meta[name="theme-color"]').setAttribute('content', colors[state]);
|
document.querySelector('meta[name="theme-color"]').setAttribute('content', colors[state]);
|
||||||
document.querySelector('meta[name="background-color"]').setAttribute('content', colors[state]);
|
|
||||||
}
|
}
|
||||||
const detectColorScheme = () => {
|
const detectColorScheme = () => {
|
||||||
document.documentElement.setAttribute("data-theme", preferredColorScheme());
|
document.documentElement.setAttribute("data-theme", preferredColorScheme());
|
||||||
|
|
|
@ -86,7 +86,6 @@ export default function(obj) {
|
||||||
<link rel="stylesheet" href="cobalt.css">
|
<link rel="stylesheet" href="cobalt.css">
|
||||||
|
|
||||||
<meta name="theme-color" content="#000000">
|
<meta name="theme-color" content="#000000">
|
||||||
<meta name="background-color" content="#000000">
|
|
||||||
|
|
||||||
<link rel="preload" href="fonts/notosansmono.css" as="style">
|
<link rel="preload" href="fonts/notosansmono.css" as="style">
|
||||||
<link rel="preload" href="assets/meowbalt/error.png" as="image">
|
<link rel="preload" href="assets/meowbalt/error.png" as="image">
|
||||||
|
|
Loading…
Reference in a new issue