car_trader/public/tailwind-sandbox/18-dark-mode/index.html

18 lines
629 B
HTML

<!DOCTYPE html>
<html lang="en" class="dark">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<script src="https://cdn.tailwindcss.com"></script>
<title>Dark Mode</title>
</head>
<body>
<!-- By default, you can have your project use whatever mode your OS is using. You can use "dark:{class}". You can also set your config to use a class instead of using your OS mode -->
</body>
</html>
<!-- Credit for toggle button style
https://tailwindcomponents.com/component/toggle-switch
-->