-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
155 lines (148 loc) · 4.1 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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./app/**/*.{js,ts,jsx,tsx}",
"./pages/**/*.{js,ts,jsx,tsx}",
"./components/**/*.{js,ts,jsx,tsx}",
// Or if using `src` directory:
"./src/**/*.{js,ts,jsx,tsx}",
],
theme: {
screens: {
sm: "668px",
// => @media (min-width: 640px) { ... }
md: "832px",
// => @media (min-width: 768px) { ... }
lg: "1024px",
// => @media (min-width: 1024px) { ... }
xl: "1280px",
// => @media (min-width: 1280px) { ... }
"2xl": "1536px",
// => @media (min-width: 1536px) { ... }
},
backgroundSize: {
auto: "auto",
cover: "cover",
contain: "contain",
"200%": "200%",
},
extend: {
colors: {
accentColor: "#4dcbf5",
accentColorLight: "#68d9ff",
accentColorDark: "#2692b6",
CTAColorLight: "#ff6f27",
CTAColorDark: "#a73c0b",
CTAColor: "#e06020",
bgColorDark: "#34393e",
bgColorDarkLight: "#2f3338",
bgColorDarkDark: "#202224",
bgColorLight: "#e7efff",
white: "#ffffff",
},
borderWidth: {
1: "1px",
},
boxShadow: {
ctaButtonHover: "5px 5px 0px #ab1b0b, -5px -5px 0px #e1530a;",
ctaButton: "0px 0px 10px #ab1b0b;",
buttonLight: " 5px 5px 10px #bbc2cf, -5px -5px 10px #ffffff;",
buttonHover: "5px 5px 0px #2a2e32, -5px -5px 0px #3e444a;",
button: "5px 5px 10px #2a2e32, -5px -5px 10px #3e444a;",
darkInner: "inset 5px 5px 10px #202224, inset -5px -5px 10px #2f3338;",
inputField: "inset 5px 5px 10px #bbc2cf, inset -5px -5px 10px #ffffff;",
inputFieldValid: " 5px 5px 10px #bbc2cf, -5px -5px 10px #ffffff;",
inputFieldDark:
"inset 9px 9px 18px #222030, inset -9px -9px 18px #2c283e;",
inputFieldDarkValid: "5px 5px 10px #222030, -9px -9px 18px #2c283e;",
},
padding: {
articlePadding: "3rem",
articlePaddingMobile: "1rem",
},
margin: {
"1/2-height": "50vh",
"3/5-height": "65vh",
},
backgroundSize: {
"100%": "100% 100%",
},
height: {
"50%": "50vh",
},
maxWidth: {
wrapper: "80rem",
},
gridTemplateColumns: {
fluid: "repeat(auto-fit, minmax(23em, 1fr));",
},
fontFamily: {
montserrat: ["var(--font-montserrat)"],
},
backgroundImage: {
"gradient-radial": "radial-gradient(var(--tw-gradient-stops))",
},
keyframes: {
lines: {
"0%": {
width: 0,
height: 0,
"border-top": "2px solid #e06020",
"border-bottom": "2px solid #e06020",
},
"50%": {
width: "100%",
height: 0,
padding: "0",
"border-top": "2px solid #e06020",
"border-bottom": "2px solid #e06020",
},
"90%": {
width: "100%",
height: "7.5rem",
padding: "1rem 0",
"border-top": "4px solid white",
"border-bottom": "4px solid white",
},
"100%": {
width: "100%",
padding: "1rem 0",
"border-top": "4px solid white",
"border-bottom": "4px solid white",
},
},
becomeVisible: {
"0%": {
opacity: "0",
},
"100%": {
opacity: "1",
},
},
becomeHidden: {
"0%": {
opacity: "1",
display: "flex",
"z-index": 50,
},
"90%": {
opacity: "0",
display: "flex",
"z-index": 50,
},
"100%": {
opacity: "0",
display: "none",
"z-index": -50,
},
},
},
animation: {
lines: "lines 3s ease-in-out forwards",
becomeVisible: "becomeVisible 1s ease-in-out 5s normal forwards",
becomeHidden: "becomeHidden 1s ease-in-out 0s normal forwards",
},
},
},
plugins: [],
};