Browse Source

Add Dark Mode

pull/250/head
Archef2000 4 years ago
committed by GitHub
parent
commit
ad2eb983ac
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 10
      src/www/index.html

10
src/www/index.html

@ -12,7 +12,13 @@
</head>
<body class="bg-gray-50">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/lib/darkmode-js.min.js"></script>
<script>
function addDarkmodeWidget() {
new Darkmode().showWidget();
}
window.addEventListener('load', addDarkmodeWidget);
</script>
<div id="app">
<div class="container mx-auto max-w-3xl">
@ -482,4 +488,4 @@
<script src="./js/app.js"></script>
</body>
</html>
</html>

Loading…
Cancel
Save