forked from aya/aya
Initial commit
This commit is contained in:
25
client/app/index.html
Normal file
25
client/app/index.html
Normal file
@@ -0,0 +1,25 @@
|
||||
<!doctype html>
|
||||
<html lang="en-US" class="bg-white dark:bg-neutral-900">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
|
||||
<link rel="icon" href="./img/aya.png" />
|
||||
<title>Aya</title>
|
||||
|
||||
<!-- Scripts -->
|
||||
<script type="module" src="./main.js"></script>
|
||||
<script>
|
||||
document.addEventListener("DOMContentLoaded", function () {
|
||||
if (window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches) {
|
||||
document.documentElement.setAttribute("data-mode", "dark");
|
||||
} else {
|
||||
document.documentElement.setAttribute("data-mode", "light");
|
||||
}
|
||||
});
|
||||
</script>
|
||||
</head>
|
||||
<body class="font-sans antialiased">
|
||||
<div id="app"></div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user