Skip to content

Commit 05a06aa

Browse files
committed
fix(android): set dark system bar background color
1 parent ba2cc20 commit 05a06aa

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

src/layouts/BaseLayout.astro

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ const canonicalUrl = routePaths ? (lang === "pl" ? plUrl : enUrl) : null;
3434
<head>
3535
<meta charset="utf-8" />
3636
<meta name="viewport" content="width=device-width, initial-scale=1" />
37+
<meta name="theme-color" content="#05070e" />
3738
<meta name="color-scheme" content="dark" />
3839

3940
<title>{title ? `${title} · rocketdeploy` : "rocketdeploy"}</title>

src/styles/global.css

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,14 @@
1515

1616
*{ box-sizing: border-box; }
1717
html, body{ height: 100%; }
18+
html{
19+
background-color: var(--bg);
20+
}
1821
body{
1922
margin:0;
2023
font-family: var(--sans);
2124
color: var(--text);
25+
background-color: var(--bg);
2226
background: radial-gradient(1200px 800px at 20% 10%, rgba(122,162,255,.08), transparent 55%),
2327
radial-gradient(1000px 600px at 80% 20%, rgba(94,234,212,.06), transparent 55%),
2428
var(--bg);
@@ -888,4 +892,4 @@ dialog.lightbox .nav.next{ right: 14px; }
888892
}
889893
dialog.lightbox .nav.prev{ left: 10px; }
890894
dialog.lightbox .nav.next{ right: 10px; }
891-
}
895+
}

0 commit comments

Comments
 (0)