vitesse/index.html

23 lines
814 B
HTML
Raw Normal View History

2020-08-10 02:43:04 +08:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="apple-touch-icon" href="/pwa-192x192.png">
2020-10-28 18:05:02 +08:00
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#00aba9">
<meta name="msapplication-TileColor" content="#00aba9">
2020-12-23 02:48:47 +08:00
<script>
2022-05-16 11:07:37 +08:00
(function () {
2020-12-23 02:48:47 +08:00
const prefersDark = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches
2021-09-06 14:48:07 +08:00
const setting = localStorage.getItem('vueuse-color-scheme') || 'auto'
2020-12-23 02:48:47 +08:00
if (setting === 'dark' || (prefersDark && setting !== 'light'))
document.documentElement.classList.toggle('dark', true)
})()
</script>
</head>
2022-02-17 21:05:01 +08:00
<body class="font-sans">
<div id="app"></div>
2020-08-10 02:43:04 +08:00
<script type="module" src="/src/main.ts"></script>
</body>
</html>