-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathtailwind.config.js
66 lines (61 loc) · 1.34 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
const defaultTheme = require("tailwindcss/defaultTheme");
module.exports = {
content: [
"./pages/*.{js,ts,jsx,tsx}",
"./components/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {
colors: {
icons: "#ffdf2b",
iconsLight: "#ffdf2b57",
iconsBg: "#ffdf2b",
shadowDark: "#555557",
bgShadowDark: "#555557",
shadowLight: "#232325",
mainBg: "#232325",
overlay: "#2323255e",
},
container: {
center: true,
padding: {
DEFAULT: '1rem',
sm: '2rem',
lg: '4rem',
xl: '5rem',
'2xl': '6rem',
},
},
fontFamily: {
inter: ["inter", ...defaultTheme.fontFamily.sans],
lobster: ["lobster", ...defaultTheme.fontFamily.sans],
},
rotate: { 135: "135deg", 45: "45deg " },
},
screens: {
xs: "480px",
sm: "640px",
md: "768px",
lg: "1024px",
xl: "1280px",
"2xl": "1536px",
},
container: {
screens: {
xs: "100%",
sm: "640px",
md: "768px",
lg: "1024px",
xl: "1280px",
"2xl": "1536px",
},
},
},
plugins: [
require("@tailwindcss/line-clamp"),
function ({ addVariant }) {
addVariant("child", "& > *");
addVariant("child-hover", "& > *:hover");
},
],
};