Double is a CSS framework with dark mode. https://emanuelescarabattoli.github.io/double
To use double in your project use the following template
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/emanuelescarabattoli/[email protected]/dist/double.min.css" />
</head>
<body>
<!--Your HTML code here-->
</body>
</html>
To use the dark mode just wrap your HTML around a div
with the CSS class dark-mode
as in the following example
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/emanuelescarabattoli/[email protected]/dist/double.min.css" />
</head>
<body>
<div class="dark-mode">
<!--Your HTML code here-->
</div>
</body>
</html>