vitesse/index.html

25 lines
895 B
HTML
Raw Permalink 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="icon" href="/favicon.svg" type="image/svg+xml">
<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">
<meta name="theme-color" content="#ffffff">
2020-08-10 02:43:04 +08:00
</head>
<body>
<div id="app"></div>
2020-12-23 02:48:47 +08:00
<script>
(function() {
const prefersDark = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches
const setting = localStorage.getItem('color-schema') || 'auto'
if (setting === 'dark' || (prefersDark && setting !== 'light'))
document.documentElement.classList.toggle('dark', true)
})()
</script>
2020-08-10 02:43:04 +08:00
<script type="module" src="/src/main.ts"></script>
</body>
</html>