Files
IronPad-Docker/frontend/index.html

39 lines
1.1 KiB
HTML

<!doctype html>
<html lang="en" data-theme="dark">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="0" />
<title>Ironpad</title>
<script>
// Apply saved theme immediately to prevent flash
(function() {
var saved = localStorage.getItem('ironpad-theme');
if (saved === 'light') {
document.documentElement.setAttribute('data-theme', 'light');
}
// Default is dark (already set on html tag)
})();
</script>
<style>
html, body {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
overflow: hidden;
background: #1a1a1a;
}
[data-theme="light"] body {
background: #ffffff;
}
</style>
</head>
<body>
<div id="app"></div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>