-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
tailwind.config.js
48 lines (48 loc) · 1.25 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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./app/**/*.{js,ts,jsx,tsx}",
"./pages/**/*.{js,ts,jsx,tsx}",
"./lib/components/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {
fontFamily: {
// If changing the fonts here, also make sure that the OpenGraph image
// generation is updated as well.
body: ["Inter Variable", "Inter", "Inter-fallback", "sans-serif"],
headings: [
'"Permanent Marker"',
'"Permanent Marker-fallback"',
"sans-serif",
],
},
typography: {
DEFAULT: {
css: {
a: {
"text-decoration-line": "underline",
"text-decoration-style": "dotted",
"&:hover": {
"text-decoration-style": "solid",
},
"&:focus-within": {
"text-decoration-style": "solid",
},
},
p: {
"&:first-child": {
"margin-top": 0,
},
"&:last-child": {
"margin-bottom": 0,
},
},
},
},
},
},
},
plugins: [require("@tailwindcss/typography")],
darkMode: "class",
};