-
Notifications
You must be signed in to change notification settings - Fork 1
/
tailwind.config.js
34 lines (34 loc) · 961 Bytes
/
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
/** @type {import('tailwindcss').Config} */
export default {
content: [
"./src/**/*.html",
"./src/**/*.njk",
"./src/**/*.md",
"./src/**/*.js",
],
theme: {
extend: {
typography: (theme) => ({
slate: {
css: {
"--tw-prose-headings": theme("colors.slate.800"),
"--tw-prose-lead": theme("colors.slate.800"),
"--tw-prose-bold": theme("colors.slate.800"),
"--tw-prose-links": theme("colors.slate.800"),
a: {
fontWeight: "normal",
textDecoration: "underline",
textDecorationThickness: "1px",
textUnderlineOffset: "4px",
textDecorationColor: theme("colors.slate.800"),
"&:hover": {
textDecorationColor: theme("colors.slate.400"),
},
},
},
},
}),
},
},
plugins: [require("@tailwindcss/typography")],
};