mirror of
https://github.com/Nezumi-2711/next-gdrive-index.git
synced 2026-09-22 13:38:38 +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 type { Config } from "tailwindcss";
|
||||||
import twAnimate from "tailwindcss-animate";
|
|
||||||
import tw from "tailwindcss/defaultTheme";
|
import tw from "tailwindcss/defaultTheme";
|
||||||
|
|
||||||
const config: Config = {
|
export default {
|
||||||
darkMode: ["class"],
|
darkMode: ["class"],
|
||||||
|
safelist: ["dark"],
|
||||||
content: ["./pages/**/*.{ts,tsx}", "./components/**/*.{ts,tsx}", "./app/**/*.{ts,tsx}", "./src/**/*.{ts,tsx}"],
|
content: ["./pages/**/*.{ts,tsx}", "./components/**/*.{ts,tsx}", "./app/**/*.{ts,tsx}", "./src/**/*.{ts,tsx}"],
|
||||||
prefix: "",
|
prefix: "",
|
||||||
theme: {
|
theme: {
|
||||||
@@ -105,13 +103,11 @@ const config: Config = {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
plugins: [
|
plugins: [
|
||||||
twAnimate,
|
require("tailwindcss-animate"),
|
||||||
twTypography,
|
require("@tailwindcss/typography"),
|
||||||
twVidstack({
|
require("@vidstack/react/tailwind.cjs")({
|
||||||
selector: ".media-player",
|
selector: ".media-player",
|
||||||
prefix: "media",
|
prefix: "media",
|
||||||
}),
|
}),
|
||||||
],
|
],
|
||||||
};
|
} satisfies Config;
|
||||||
|
|
||||||
export default config;
|
|
||||||
|
|||||||
Reference in New Issue
Block a user