web-devtools/index.html
2025-12-21 23:31:30 +03:00

28 lines
914 B
HTML

<!DOCTYPE html>
<html lang="en" data-bs-theme="light">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="initial-scale=1.0, minimum-scale=1.0, maximum-scale=2.0, user-scalable=yes" />
<meta name="theme-color" content="#000000" />
<link rel="shortcut icon" type="image/ico" href="/src/assets/favicon.ico" />
<title>Siemens Dev Tools</title>
<script>
(function () {
const media = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)');
const themeChange = () => {
document.documentElement.setAttribute('data-bs-theme', media.matches ? 'dark' : 'light');
};
if (media) {
media.addEventListener('change', themeChange, false);
themeChange();
}
})();
</script>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<script src="/src/index.tsx" type="module"></script>
</body>
</html>