trustgraph/ts/packages/workbench/index.html

25 lines
763 B
HTML
Raw Normal View History

2026-04-05 22:44:45 -05:00
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>TrustGraph Workbench</title>
</head>
<body class="dark">
<script>
// Restore theme preference before first paint to avoid flash
(function() {
var theme = localStorage.getItem('tg-theme');
if (theme === 'light') {
document.body.classList.remove('dark');
document.body.classList.add('light');
document.documentElement.classList.add('light');
}
})();
</script>
2026-04-05 22:44:45 -05:00
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>