mirror of
https://github.com/Nezumi-2711/next-gdrive-index.git
synced 2026-09-22 05:31:57 +00:00
fix: Add .dark to safelist to make sure it's generated
This commit is contained in:
+6
-10
@@ -1,11 +1,9 @@
|
||||
import twTypography from "@tailwindcss/typography";
|
||||
import twVidstack from "@vidstack/react/tailwind.cjs";
|
||||
import type { Config } from "tailwindcss";
|
||||
import twAnimate from "tailwindcss-animate";
|
||||
import tw from "tailwindcss/defaultTheme";
|
||||
|
||||
const config: Config = {
|
||||
export default {
|
||||
darkMode: ["class"],
|
||||
safelist: ["dark"],
|
||||
content: ["./pages/**/*.{ts,tsx}", "./components/**/*.{ts,tsx}", "./app/**/*.{ts,tsx}", "./src/**/*.{ts,tsx}"],
|
||||
prefix: "",
|
||||
theme: {
|
||||
@@ -105,13 +103,11 @@ const config: Config = {
|
||||
},
|
||||
},
|
||||
plugins: [
|
||||
twAnimate,
|
||||
twTypography,
|
||||
twVidstack({
|
||||
require("tailwindcss-animate"),
|
||||
require("@tailwindcss/typography"),
|
||||
require("@vidstack/react/tailwind.cjs")({
|
||||
selector: ".media-player",
|
||||
prefix: "media",
|
||||
}),
|
||||
],
|
||||
};
|
||||
|
||||
export default config;
|
||||
} satisfies Config;
|
||||
|
||||
Reference in New Issue
Block a user