generated from 8bu/vitesse-enterprise
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
27 lines (27 loc) · 1.08 KB
/
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
<!DOCTYPE html>
<html class="w-screen min-h-full" lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" href="/favicon.svg" type="image/svg+xml" />
<link rel="apple-touch-icon" href="/pwa-192x192.png" />
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#00aba9" />
<meta name="msapplication-TileColor" content="#00aba9" />
<meta name="theme-color" content="#ffffff" />
<script>
;(function () {
const query = '(prefers-color-scheme: dark)'
const prefersDark = window.matchMedia && window.matchMedia(query).matches
const setting = localStorage.getItem('vueuse-color-scheme') || 'auto'
if (setting === 'dark' || (prefersDark && setting !== 'light'))
document.documentElement.classList.toggle('dark', true)
})()
</script>
</head>
<body>
<div id="app" class="flex flex-col w-screen min-h-0 mx-auto">
<!-- vue components will be here -->
</div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>