28 lines
941 B
HTML
28 lines
941 B
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>VPN Router Manager</title>
|
|
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
|
<style>
|
|
html.light { color-scheme: light; }
|
|
html.dark { color-scheme: dark; background-color: #121212; }
|
|
</style>
|
|
<script>
|
|
// Sets the stored MUI color scheme on <html> before the first paint.
|
|
(function () {
|
|
try {
|
|
var mode = localStorage.getItem('mui-mode') || 'system';
|
|
var dark = mode === 'dark' || (mode === 'system' && window.matchMedia('(prefers-color-scheme: dark)').matches);
|
|
document.documentElement.classList.add(dark ? 'dark' : 'light');
|
|
} catch (e) {}
|
|
})();
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<div id="root"></div>
|
|
<script type="module" src="/src/main.tsx"></script>
|
|
</body>
|
|
</html>
|