1
mirror of https://github.com/jakejarvis/dark-mode-example.git synced 2025-06-27 14:55:40 -04:00
Files
dark-mode-example/index.html
2020-08-16 12:28:58 -04:00

19 lines
665 B
HTML

<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Welcome to the dark side 🌓</title>
<link rel="stylesheet" href="dark-mode.css">
</head>
<body class="light">
<h1>Welcome to the dark side 🌓</h1>
<button class="dark-mode-toggle">💡 Click to see the light... or not.</button>
<p><a href="https://github.com/jakejarvis/dark-mode-example" target="_blank" rel="noopener">View the source code</a> or <a href="https://jarv.is/notes/dark-mode/" target="_blank" rel="noopener">read the post</a>.</p>
<script async defer src="dark-mode.min.js"></script>
</body>
</html>