-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
30 lines (29 loc) · 1.42 KB
/
index.html
File metadata and controls
30 lines (29 loc) · 1.42 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<!DOCTYPE html>
<html lang="en" class="palette-doctor">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>HDS Data Model Browser</title>
<meta name="description" content="Search and browse the Health Data Safe data model — items, streams, eventTypes, settings." />
<meta name="author" content="Health Data Safe" />
<link rel="icon" type="image/svg+xml" href="./favicon.svg" />
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Inter+Tight:ital,wght@0,100..900;1,100..900&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap" />
<script>
// Auto-switch to palette-dark when the OS prefers dark.
// Apps can later add a manual toggle that persists in localStorage.
(function () {
var saved = localStorage.getItem('palette');
var prefersDark = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches;
var palette = saved || (prefersDark ? 'palette-dark' : 'palette-doctor');
var root = document.documentElement;
root.classList.remove('palette-doctor', 'palette-patient', 'palette-dark');
root.classList.add(palette);
if (palette === 'palette-dark') root.classList.add('dark');
})();
</script>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>