mirror of
https://github.com/siemens-mobile-hacks/web-devtools.git
synced 2026-11-25 23:57:40 +00:00
28 lines
910 B
HTML
28 lines
910 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 () {
|
|
let media = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)');
|
|
let 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.jsx" type="module"></script>
|
|
</body>
|
|
</html>
|