Skip to content

Commit 41ec270

Browse files
author
Renan Borges
committed
Fix Safari theme color on iOS
1 parent 3843f90 commit 41ec270

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

index.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
99
<meta name="description" content="Skia4Delphi is a cross-platform 2D graphics API for Delphi based on the Skia Graphics Library which is sponsored and managed by Google.">
1010
<meta name="keywords" content="Skia4Delphi, Sk4D, Skia, Delphi">
11-
<meta name="theme-color" content="#030b1f">
1211
</head>
1312
<body>
1413
<div id="root"></div>

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,11 @@
44
"homepage": "http://skia4delphi.github.io/website",
55
"scripts": {
66
"dev": "vite",
7-
"build": "tsc && vite build",
7+
"build": "tsc && vite build && npm run fix-apple-theme",
88
"preview": "vite preview",
99
"test": "eslint -c .eslintrc './src/**/*.tsx'",
10-
"deploy": "gh-pages -d dist"
10+
"deploy": "gh-pages -d dist",
11+
"fix-apple-theme": "sed -i.bak 's/content=\"#fff\"/content=\"#030b1f\"/' dist/index.html && rm dist/index.html.bak"
1112
},
1213
"dependencies": {
1314
"@emotion/react": "^11.7.1",

0 commit comments

Comments
 (0)