-
-
Notifications
You must be signed in to change notification settings - Fork 296
/
Copy pathtailwind.config.js
58 lines (56 loc) · 1.51 KB
/
tailwind.config.js
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
48
49
50
51
52
53
54
55
56
57
58
/** @type {import('tailwindcss').Config} */
const { fontFamily } = require("tailwindcss/defaultTheme");
module.exports = {
darkMode: ["class"],
content: ["./themes/**/*.html", "./templates/**/*.html", "./content/**/*.md"],
theme: {
extend: {
typography: ({ theme }) => ({
DEFAULT: {
// this is for prose class
css: {
"--tw-prose-headings": theme("colors.foreground"),
"--tw-prose-body": theme("colors.foreground"),
},
},
}),
spacing: {},
colors: {
background: "var(--background)",
"background-secondary": "var(--background-secondary)",
foreground: "var(--foreground)",
redrust: "var(--redrust)",
orangerust: "var(--orangerust)",
primary: {
DEFAULT: "var(--primary)",
foreground: "var(--primary-foreground)",
},
secondary: {
DEFAULT: "var(--secondary)",
foreground: "var(--secondary-foreground)",
},
border: "var(--border)",
card: {
DEFAULT: "var(--card)",
foreground: "var(--card-foreground)",
},
},
borderRadius: {
lg: `var(--radius)`,
md: `calc(var(--radius) - 2px)`,
sm: "calc(var(--radius) - 4px)",
},
fontFamily: {
inter: ["Inter"],
text: ["Inter"],
heading: ["Arimo"],
},
},
},
variants: {
extend: {
inset: ["negative"],
},
},
plugins: [require("@tailwindcss/typography")],
};