Skip to content

Commit 481e90e

Browse files
committed
Change mobile OS status bar to background color
Looks much better on devices with non-rectangle displays.
1 parent df32c5f commit 481e90e

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

public/index.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@
44
<meta charset="utf-8">
55
<link rel="icon" href="%PUBLIC_URL%/favicon.ico">
66
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no">
7-
<meta name="theme-color" content="#131313">
7+
<meta name="theme-color" content="#f5f5f5" media="(prefers-color-scheme: light)">
8+
<meta name="theme-color" content="#131313" media="(prefers-color-scheme: dark)">
89
<meta name="apple-mobile-web-app-capable" content="yes">
10+
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
911
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
1012
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
1113
<title>Grouptabs</title>

public/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@
2020
],
2121
"start_url": ".",
2222
"display": "standalone",
23-
"theme_color": "#131313",
23+
"theme_color": "#f5f5f5",
2424
"background_color": "#f5f5f5"
2525
}

0 commit comments

Comments
 (0)