Files
romm/frontend/index.html
Georges-Antoine Assi 18995eaa61 Ship a single web manifest with maskable Android icons (#5820)
index.html linked a hand-written site.webmanifest ahead of the one
vite-plugin-pwa generates. Its icons had no maskable purpose and a white
background, so Android launchers (Chrome, Brave) shrank the square logo
into a white circle. Its name was also empty.

Drop site.webmanifest and its link, and configure the plugin manifest
with the RomM name, brand theme and background colours, and the
full-bleed android-chrome PNGs listed as both any and maskable.


Claude-Session: https://claude.ai/code/session_011waFLFwVe4sdqdXdJcZ37i

Co-authored-by: Claude <noreply@anthropic.com>
2026-12-01 10:06:43 -05:00

69 lines
1.7 KiB
HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" />
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" />
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#9205f2" />
<meta name="msapplication-TileColor" content="#9205f2" />
<meta name="theme-color" content="#2a0145" />
<meta
name="viewport"
content="width=device-width, initial-scale=1.0, viewport-fit=cover"
/>
<title>RomM</title>
</head>
<body>
<div id="app">
<div id="app-loading-logo">
<img
src="/assets/logos/romm_logo_xbox_one_circle_grayscale.svg"
alt="Romm Logo"
/>
</div>
</div>
<style>
#app-loading-logo {
position: fixed;
top: 0;
left: 0;
display: flex;
justify-content: center;
align-items: center;
width: 100vw;
height: 100vh;
z-index: 1020 !important;
background-color: #f5f5fa !important;
}
#app-loading-logo img {
width: 30%;
height: 30%;
opacity: 0.1;
}
@media (prefers-color-scheme: dark) {
html {
background-color: #07070f;
}
#app-loading-logo {
background-color: #07070f !important;
}
}
@media (max-width: 960px) {
#app-loading-logo img {
width: 50%;
height: 50%;
}
}
</style>
<script type="module" src="/src/main.ts"></script>
</body>
</html>