feat: overhaul frontend styling
All checks were successful
CI / Maven unit tests (push) Successful in 17s
CI / Build and push images (push) Has been skipped
CI / Deploy to server (push) Has been skipped

This commit is contained in:
2026-07-29 10:16:09 +01:00
parent df8afcb428
commit 761f93e2a7
54 changed files with 2758 additions and 2195 deletions

View File

@@ -4,7 +4,32 @@
<meta charset="UTF-8" />
<link rel="icon" type="image/png" href="/small_icon.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + React + TS</title>
<meta name="description" content="Record, trim, and export your stream clips." />
<meta name="theme-color" content="#faf9f5" media="(prefers-color-scheme: light)" />
<meta name="theme-color" content="#262624" media="(prefers-color-scheme: dark)" />
<title>VoD System</title>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,400..700&family=Source+Serif+4:opsz,wght@8..60,400..600&display=swap"
/>
<script>
// Apply the stored theme before first paint so there is no light flash.
(function () {
try {
var stored = localStorage.getItem("vod-theme");
var dark = stored
? stored === "dark"
: window.matchMedia("(prefers-color-scheme: dark)").matches;
document.documentElement.classList.toggle("dark", dark);
} catch (e) {
/* localStorage unavailable — fall back to the light theme */
}
})();
</script>
</head>
<body>
<div id="root"></div>