Skip to content

Commit b300bd7

Browse files
committed
Don't make the iOS status bar translucent in light mode as the text will light on light color
Currently, there's no way to make the text dark with translucent background: https://stackoverflow.com/questions/39749015/apple-mobile-web-app-status-bar-style-in-ios-10#40786240
1 parent faa8a53 commit b300bd7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

public/index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
<meta name="theme-color" content="#f5f5f5" media="(prefers-color-scheme: light)">
88
<meta name="theme-color" content="#131313" media="(prefers-color-scheme: dark)">
99
<meta name="apple-mobile-web-app-capable" content="yes">
10-
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
10+
<meta name="apple-mobile-web-app-status-bar-style" content="default" media="(prefers-color-scheme: light)">
11+
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" media="(prefers-color-scheme: dark)">
1112
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
1213
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
1314
<title>Grouptabs</title>

0 commit comments

Comments
 (0)