fix: change darkMode selector to use .dark class (#1596)

This commit is contained in:
Jianan
2026-03-21 22:55:21 +08:00
committed by GitHub
parent 2296c41497
commit 72f570b99e

View File

@@ -1,7 +1,7 @@
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./src/index.html", "./src/**/*.{js,ts,jsx,tsx}"],
darkMode: ["selector", "class"],
darkMode: ["selector", ".dark"],
theme: {
extend: {
colors: {