chore: added theme switch

This commit is contained in:
2024-09-09 21:48:20 +02:00
parent efc3a9d730
commit d825546505
2 changed files with 18 additions and 16 deletions

View File

@@ -9,6 +9,7 @@
<body>
<main>
<button style="float: right; font-size:large;" title="Dark theme on/off" onclick="toggleTheme();">&#9728;</button>
<h1>Truyen home</h1>
<h2>Status:</h2>
<p class="text-red">Under construction</p>
@@ -19,6 +20,7 @@
<a href="https://tds.truyen.network" target="_blank">tds.truyen.network</a>
</main>
<script src="js/theme.js"></script>
</body>
</html>