-
Notifications
You must be signed in to change notification settings - Fork 1
/
tailwind.config.js
104 lines (103 loc) · 2.56 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
/** @type {import('tailwindcss').Config} */
const plugin = require("tailwindcss/plugin");
module.exports = {
content: [
"./app/**/*.{js,ts,jsx,tsx}",
"./components/**/*.{js,ts,jsx,tsx}",
"./app/(shared-components)/Navbar.tsx",
"./app/team/officers/OfficerCard.tsx",
],
theme: {
extend: {
fontSize: {
"10xl": "10rem",
},
spacing: {
128: "32rem",
144: "36rem",
160: "40rem",
176: "44rem",
224: "56rem",
256: "64rem",
400: "100rem",
},
colors: {
"wh-0": "#FFFFFF",
"wh-10": "#F4F4F4",
"wh-50": "#FBFBFB",
"wh-75": "#F7F7F7",
"wh-100": "#C9C9C9",
"wh-300": "#939393",
"wh-500": "#595959",
"wh-900": "#0F0F0F",
"accent-red": "#EA9648",
"accent-orange": "#E87500",
"accent-orange-light": "#ff9933",
"officer-orange": "#EE9740",
"accent-green": "#2D8B49",
"accent-yellow": "#EDCA2C",
"or-10": "#ff841c",
},
opacity: {
65: 0.65,
},
backgroundImage: (theme) => ({
"gradient-gradual":
"linear-gradient(180deg, rgba(116, 116, 116, 0) 66.15%, #000000 100%)",
}),
},
screens: {
xs: "480px",
sm: "768px",
md: "1060px",
},
},
plugins: [
plugin(function ({ addComponents }) {
addComponents({
".navbarLink": {
color: "#FFFFFF",
opacity: 0.65,
"&:hover": {
color: "#E87500",
underline: true,
opacity: 1,
},
},
".buttonEffect": {
color: "#FFFFFF",
"&:hover": {
color: "#E87500",
underline: true,
opacity: 1,
},
},
".team": {
display: "flex",
"flex-direction": "column",
// "justify-content": "center",
"align-items": "center",
height: "100%",
},
".officerCards": {
display: "flex",
"flex-direction": "row",
"justify-content": "center",
"align-items": "center",
"flex-wrap": "wrap",
"justify-content": "space-between",
},
".officerCard": {
width: "100%",
margin: "25px",
width: "clamp(300px, 100%, 400px)",
"min-height": "400px",
"background-color": "bg-transparent",
trasition: "all 0.3s ease-in-out",
},
});
}),
require("@tailwindcss/typography"),
require("@tailwindcss/line-clamp"),
],
};