-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
46 lines (45 loc) · 1.03 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
const { spacing, fontFamily } = require("tailwindcss/defaultTheme");
module.exports = {
mode: "jit",
purge: [
"./pages/**/*.{js,ts,jsx,tsx}",
"./components/**/*.{js,ts,jsx,tsx}",
"./layouts/**/*.{js,ts,jsx,tsx}",
"./constants/**/*.{js,ts,jsx,tsx}",
],
darkMode: false, // or 'media' or 'class'
theme: {
extend: {
fontFamily: {
poppins: ["Poppins", ...fontFamily.sans],
sans: ["Roboto", ...fontFamily.sans],
},
typography: {
DEFAULT: {
css: {
"h2,h3,h4": {
position: "relative",
"scroll-margin-top": spacing[24],
},
a: {
color: "#3b82f6",
"&:hover": {
color: "#1d4ed8",
},
"&:visited": {
color: "#4F46E5",
},
},
},
},
},
},
},
variants: {
extend: {},
},
plugins: [
require("@tailwindcss/typography"),
require("@tailwindcss/line-clamp"),
],
};