-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
40 lines (39 loc) · 1.04 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
/** @type {import('tailwindcss').Config} */
const plugin = require("tailwindcss/plugin");
module.exports = {
content: ["./pages/**/*.{js,ts,jsx,tsx}", "./components/**/*.{js,ts,jsx,tsx}"],
theme: {
extend: {},
},
plugins: [
plugin(function ({ addBase, theme }) {
addBase({
h1: {
fontSize: theme("fontSize.3xl"),
fontWeight: theme("fontWeight.bold"),
lineHeight: "2.25rem",
},
h2: {
fontSize: theme("fontSize.2xl"),
fontWeight: theme("fontWeight.bold"),
lineHeight: "2rem",
},
h3: {
fontSize: theme("fontSize.xl"),
fontWeight: theme("fontWeight.bold"),
lineHeight: "1.75rem",
},
h4: {
fontSize: theme("fontSize.lg"),
fontWeight: theme("fontWeight.bold"),
lineHeight: "1.75rem",
},
h5: {
fontSize: theme("fontSize.lg"),
fontWeight: theme("fontWeight.bold"),
lineHeight: "1.75rem",
},
});
}),
],
};