Skip to content

Commit 7e9a41c

Browse files
update tailwind.config.ts
1 parent 5f0237a commit 7e9a41c

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

tailwind.config.ts

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
1-
import type { Config } from "tailwindcss"
1+
import type { Config } from "tailwindcss";
22

33
const config = {
4-
darkMode: ["class"],
4+
// @ts-ignore
5+
darkMode: ["media"],
56
content: [
6-
'./pages/**/*.{ts,tsx}',
7-
'./components/**/*.{ts,tsx}',
8-
'./app/**/*.{ts,tsx}',
9-
'./src/**/*.{ts,tsx}',
10-
],
7+
"./pages/**/*.{ts,tsx}",
8+
"./components/**/*.{ts,tsx}",
9+
"./app/**/*.{ts,tsx}",
10+
"./src/**/*.{ts,tsx}",
11+
],
1112
prefix: "",
1213
theme: {
1314
container: {
@@ -75,6 +76,6 @@ const config = {
7576
},
7677
},
7778
plugins: [require("tailwindcss-animate")],
78-
} satisfies Config
79+
} satisfies Config;
7980

80-
export default config
81+
export default config;

0 commit comments

Comments
 (0)