chore: added theme switch
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
<body>
|
||||
|
||||
<main>
|
||||
<button style="float: right; font-size:large;" title="Dark theme on/off" onclick="toggleTheme();">☀</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>
|
||||
|
||||
Reference in New Issue
Block a user