I've tried incorporating dark mode classes into Tailwind CSS, but it doesn't seem to be functioning properly. I attempted to manually add class="dark"
to my HTML document like so:
<html class="dark">
, but still no luck.
This is how my config.js
file looks:
module.exports = {
content: ["./src/**/*.{html,js}"],
theme: {darkMode:"class",extend:{},},
plugins: [],
};