-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
28 lines (27 loc) · 907 Bytes
/
index.html
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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/rss.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>RSS Feed Transformer</title>
<style>
#joy-target.initial-dark-mode:not([data-joy-color-scheme]) {
background-color: #051423;
}
</style>
</head>
<body id="joy-target">
<div id="root"></div>
<script>
// Handle background color if color scheme saved is dark, so we dont blind someone
// with a flash of white.
if (window.localStorage) {
const colorMode = window.localStorage.getItem('color-mode') || 'light'
if (colorMode === '"dark"')
document.getElementById('joy-target').classList.add('initial-dark-mode')
}
</script>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>