-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
48 lines (46 loc) · 1.33 KB
/
tailwind.config.ts
File metadata and controls
48 lines (46 loc) · 1.33 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
47
import type { Config } from "tailwindcss";
export default {
content: [
"./pages/**/*.{js,ts,jsx,tsx,mdx}",
"./components/**/*.{js,ts,jsx,tsx,mdx}",
"./app/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
extend: {
colors: {
background: "var(--background)",
foreground: "var(--foreground)",
primary: "#1a202c", // Example primary color for headings
secondary: "#4a5568", // Example secondary color for text
},
typography: {
DEFAULT: {
css: {
h1: {
color: "var(--foreground)", // Use your custom colors
fontSize: "2.25rem", // Larger and more distinct
fontWeight: "700",
marginTop: "1.5rem",
marginBottom: "1rem",
},
h2: {
color: "var(--foreground)",
fontSize: "1.875rem",
fontWeight: "600",
marginTop: "1.25rem",
marginBottom: "0.75rem",
},
h3: {
color: "var(--foreground)",
fontSize: "1.5rem",
fontWeight: "500",
marginTop: "1rem",
marginBottom: "0.5rem",
},
},
},
},
},
},
plugins: [require("@tailwindcss/typography")], // Add the plugin here
} satisfies Config;