-
Notifications
You must be signed in to change notification settings - Fork 335
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
46 lines (44 loc) · 1.31 KB
/
tailwind.config.ts
File metadata and controls
46 lines (44 loc) · 1.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
import type { Config } from "tailwindcss";
const config: Config = {
darkMode: "class", // Enable class-based dark mode
content: [
"./src/pages/**/*.{js,ts,jsx,tsx,mdx}",
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
// Added files to catch utility strings hidden in hooks, providers, or custom UI state contexts
"./src/hooks/**/*.{js,ts,jsx,tsx,mdx}",
"./src/context/**/*.{js,ts,jsx,tsx,mdx}",
"./src/lib/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
extend: {
colors: {
background: "var(--background)",
foreground: "var(--foreground)",
film: {
50: "var(--accent-muted)",
100: "var(--accent-muted)",
200: "color-mix(in srgb, var(--accent) 30%, var(--border))",
300: "color-mix(in srgb, var(--accent) 55%, var(--border))",
400: "var(--accent)",
500: "var(--accent)",
600: "var(--accent)",
700: "var(--accent-hover)",
800: "var(--text)",
900: "var(--text)",
950: "var(--bg)",
},
},
keyframes: {
shimmer: {
"100%": { transform: "translateX(100%)" },
},
},
animation: {
shimmer: "shimmer 2s infinite",
},
},
},
plugins: [],
};
export default config;