Skip to content

Commit 7ab7d5c

Browse files
committed
Fix dark background in browser safe areas and theme color
1 parent 3426e99 commit 7ab7d5c

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

web/index.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,11 @@
1919
<meta charset="UTF-8">
2020
<meta content="IE=Edge" http-equiv="X-UA-Compatible">
2121
<meta name="description" content="A new Flutter project.">
22+
<meta name="theme-color" content="#2B2B2B">
2223

2324
<!-- iOS meta tags & icons -->
2425
<meta name="mobile-web-app-capable" content="yes">
25-
<meta name="apple-mobile-web-app-status-bar-style" content="black">
26+
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
2627
<meta name="apple-mobile-web-app-title" content="will-ch-h">
2728
<link rel="apple-touch-icon" href="icons/Icon-192.png">
2829

@@ -32,7 +33,7 @@
3233
<title>will-ch-h</title>
3334
<link rel="manifest" href="manifest.json">
3435
</head>
35-
<body>
36+
<body style="background-color: #2B2B2B; margin: 0;">
3637
<!--
3738
You can customize the "flutter_bootstrap.js" script.
3839
This is useful to provide a custom configuration to the Flutter loader

web/manifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
"short_name": "will-ch-h",
44
"start_url": ".",
55
"display": "standalone",
6-
"background_color": "#0175C2",
7-
"theme_color": "#0175C2",
6+
"background_color": "#2B2B2B",
7+
"theme_color": "#2B2B2B",
88
"description": "A new Flutter project.",
99
"orientation": "portrait-primary",
1010
"prefer_related_applications": false,

0 commit comments

Comments
 (0)