forked from FrancescoXX/4c-site
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
57 lines (55 loc) · 1.23 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
const defaultTheme = require("tailwindcss/defaultTheme");
const plugin = require("tailwindcss/plugin");
module.exports = {
content: [
"./pages/**/*.{js,ts,jsx,tsx}",
"./components/**/*.{js,ts,jsx,tsx}",
],
theme: {
container: {
center: true,
padding: "1rem",
},
extend: {
screens: {
laptop: "801px",
break: "500px",
},
fontFamily: {
heading: [
'"Red Hat Display"',
'"Poppins"',
...defaultTheme.fontFamily.sans,
],
sans: ['"Poppins"', ...defaultTheme.fontFamily.sans],
},
dropShadow: {
'3xl': '0 0 10px #0000006e',
},
},
},
corePlugins: {
accessibility: false,
},
variants: {},
plugins: [
require("@tailwindcss/typography"),
plugin(({ addUtilities }) => {
addUtilities({
".sr-only": {
border: "0",
padding: "0",
margin: "0",
position: "absolute !important",
height: "1px",
width: "1px",
overflow: "hidden",
clip: "rect(1px 1px 1px 1px)",
"clip-path": "inset(50%)",
"white-space": "nowrap",
},
});
}),
require("@tailwindcss/line-clamp"),
],
};