-
Notifications
You must be signed in to change notification settings - Fork 1
/
tailwind.config.js
122 lines (122 loc) · 2.88 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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
module.exports = {
mode: "jit",
purge: ["./pages/**/*.{js,ts,jsx,tsx}", "./components/**/*.{js,ts,jsx,tsx}"],
darkMode: false, // or 'media' or 'class'
theme: {
screens: {
xs: "475px",
sm: "640px",
// => @media (min-width: 640px) { ... }
md: "768px",
// => @media (min-width: 768px) { ... }
lg: "1024px",
// => @media (min-width: 1024px) { ... }
xl: "1280px",
// => @media (min-width: 1280px) { ... }
"2xl": "1536px",
// => @media (min-width: 1536px) { ... }
},
extend: {
fontSize: {
tiny: "0.9375rem",
zero: "0rem",
},
colors: {
transparent: "transparent",
current: "currentColor",
main: "#2528D5",
grey: {
light3: "#efede5",
light4: "#f5f4ef",
light5: "#DCDCDE",
warm: "#707070",
dark1: "#414342",
},
navy: {
light1: "#143f5f",
},
slateblue: {
dark1: "#203E5C",
},
gold: {
dark1: "#EFBE4A",
},
soloswim: {
pink: "#fecbdf",
orange: "#FEC798",
yellow: "#f6eeae",
green: "#D5E1BB",
purple: "#D3CEE6",
blue: "#B8D7EC",
},
soloswim2: {
pink: "#F172AC",
orange: "#FDB812",
yellow: "#FFF200",
green: "#A6CE38",
purple: "#B289BE",
blue: "#00B9F2",
},
},
fontFamily: {
sans: ["Montserrat", "Helvetica", "Arial", "sans-serif"], // change to var(--font-montserrat) when using app router
lexend: [
"Lexend", // change to var(--font-lexend) when using app router
"ui-serif",
"Georgia",
"Cambria",
"Times New Roman",
"Times",
"serif",
],
},
height: {
"screen-navbar": "calc(100vh - 54px)",
88: "22rem",
},
width: {
125: "125%",
140: "140%",
200: "200%",
},
maxWidth: {
"9/10": "90%",
"8/10": "80%",
95: "95%",
s: "22rem",
},
lineHeight: {
"extra-loose": "2.5",
11: "3rem", //48px
12: "3.5rem", //56px
13: "4rem", //64px
14: "4.5rem", //72px
15: "5rem", //80px
},
borderWidth: {
3: "3px",
5: "5px",
},
translate: {
0.5: "0.125rem", //2px
},
boxShadow: {
custom1: "0 3px 20px rgba(0, 0, 0, 0.07)",
custom2: "0 3px 15px rgba(0, 0, 0, 0.1)",
custom3: "0 3px 30px #0000000D",
custom4: "0 3px 20px #00000029",
},
skew: {
25: "-25deg",
20: "-20deg",
},
},
},
variants: {
extend: { backgroundColor: ["checked"], borderColor: ["checked"] },
},
plugins: [
// ...
require("@tailwindcss/line-clamp"),
],
};