-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathtailwind.config.js
80 lines (77 loc) · 1.37 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
const plugin = require("tailwindcss/plugin");
module.exports = {
content: ["./components/**/*.tsx", "./pages/**/*.tsx", "./public/**/*.html"],
theme: {
minWidth: {
0: "0",
"1/4": "25%",
"1/2": "50%",
"3/4": "75%",
full: "100%",
100: "100px",
187: "157px",
300: "300px",
370: "376px",
70: "70px",
},
extend: {
maxWidth: {
"14rem": "14rem",
},
width: {
700: "700px",
606: "606px",
},
screens: {
xs: "321px",
555: "555px",
"max-2xl": { max: "1535px" },
"max-xl": { max: "1279px" },
"max-lg": { max: "1023px" },
"max-md": { max: "767px" },
"max-sm": { max: "639px" },
"max-xs": { max: "321px" },
},
fontFamily: {
heading: ["Montserrat"],
body: ['"Open Sans"'],
},
boxShadow: {
strong: "0 3px 15px 0px black;",
},
typography: {
xl: {
css: {
h1: {
"margin-bottom": 10,
},
// ...
},
},
},
},
},
plugins: [
require("@tailwindcss/typography"),
require("daisyui"),
require("@tailwindcss/line-clamp"),
plugin(function ({ addComponents }) {
addComponents({
".btn-dark": {
backgroundColor: "#32579d",
color: "white",
},
".btn-dark:hover": {
backgroundColor: "#32579d",
color: "white",
},
});
}),
],
daisyui: {
styled: true,
themes: false,
rtl: false,
logs:false,
},
};