-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
32 lines (28 loc) Β· 1.16 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<html>
<head>
<title>Color Scheme Toggle</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="description" content="A simple javascript to toggle your website between [ π₯ system theme | π dark mode | βοΈ light mode ]">
<meta name="author" content="Avinash Joshi">
<meta name="keywords" content="dark-mode-toggle, light-mode-toggle, color-scheme-toggle">
<link rel="stylesheet" href="color-scheme-toggle.css">
</head>
<body>
<div class="container">
<header>
<h3 class="title">Color Scheme Toggle</h3>
<ul class="nav">
<li><a href="https://github.com/avinashjoshi/color-scheme-toggle">Github</a></li>
</ul>
</header>
<div class="content">
<h2>Click/tap the button below to toggle between system default, dark mode, and light mode</h2>
<button class="color-scheme" id="color-scheme-toggle"></button>
</div>
<footer>
<div>Made with ♥ by <a href="https://a10i.me">Avinash Joshi</a></div>
</footer>
</div>
<script src="color-scheme-toggle.js"></script>
</body>
</html>