-
Notifications
You must be signed in to change notification settings - Fork 3
/
tailwind.config.js
202 lines (201 loc) · 5.53 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
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
// const { scale } = require("tailwindcss/defaultTheme");
const defaultTheme = require("tailwindcss/defaultTheme");
module.exports = {
content: ["./node_modules/flowbite/**/*.js", "./src/**/*.{js,jsx,ts,tsx}"],
darkMode: "class",
theme: {
cursor: {
auto: "auto",
default: "default",
pointer: "pointer",
wait: "wait",
text: "text",
move: "move",
"not-allowed": "not-allowed",
crosshair: "crosshair",
},
extend: {
animation: {
scaleIn: "scaleIn 100ms ease-out",
expandOut: "expandOut 350ms ease-out",
fadeIn: "fadeIn 150ms linear",
slideFromBottom: "slideFromBottom 150ms ease-in",
slideFromTop: "slideFromTop 150ms ease-in",
loadingDots: "loadingDots 500ms linear infinite",
gradient: "gradients 3s ease infinite",
wiggle: "wiggle 0.3s ease-in-out infinite",
float: "float 3s ease-in-out infinite",
pulsatingGlow: "pulsatingGlow 2.5s ease-in-out 0.2s",
},
keyframes: {
pulsatingGlow: {
"0%, 100%": {
boxShadow: "0 0 0px rgba(0, 225, 255, 0.5)",
},
"40%, 65%": {
boxShadow: "0 0 15px rgba(0, 225, 255, 1)",
},
},
gradients: {
"0%, 100%": {
"background-position": "0% 30%",
},
"50%": {
"background-position": "100% 50%",
},
},
float: {
"0%, 100%": { transform: "translateY(0)" },
"50%": { transform: "translateY(50px)" },
},
wiggle: {
"0%, 100%": { transform: "rotate(-1deg)" },
"50%": { transform: "rotate(1.5deg)" },
},
scaleIn: {
"0%": {
transform: "scale(1.5)",
opacity: "0.2",
},
"100%": {
transform: "scale(1)",
opacity: "1",
},
},
expandOut: {
"0%": {
transform: "scale(0)",
opacity: "0.5",
},
"100%": {
transform: "scale(1)",
opacity: "1",
},
},
slideFromBottom: {
"0%": {
transform: "translateY(100%)",
},
"100%": {
transform: "translateY(0%)",
},
},
slideFromTop: {
"0%": {
transform: "translateY(-100%)",
opacity: "0",
},
"100%": {
transform: "translateY(0%)",
opacity: "1",
},
},
loadingDots: {
"0%": {
"&::after": {
content: ".",
},
},
"50%": {
"&::after": {
content: "..",
},
},
"100%": {
"&::after": {
content: "...",
},
},
},
fadeIn: {
"0%": {
// height: 0,
opacity: 0.3,
},
"100%": {
// height: "max-content",
opacity: 1,
},
},
},
colors: {
slate: "rgb(20, 25, 40)",
primary: "rgb(82, 168, 193)",
"success-pending": "#ffc01e",
success: "rgb(0, 161, 128)",
superblue: "#2772E0",
popover: {
DEFAULT: "var(--popover)",
foreground: "var(--popover-foreground)",
},
"neutrals-gray-1": "#272727",
"neutrals-gray-2": "#333333",
"neutrals-gray-3": "#525659",
"neutrals-gray-4": "#757575",
"neutrals-gray-5": "#969696",
"neutrals-gray-6": "#C3C3C3",
"neutrals-gray-7": "#D8D8D8",
"neutrals-gray-8": "#EFEFEF",
"neutrals-black": "#191B1C",
"neutrals-black-2": "#232323",
"states-error": "#C96664",
"states-success": "#00A180",
"tint-primary": "#28AAC4",
"tint-primary-hover": "#77DDE4",
"tint-primary-dark": "#238396",
"light-gray": "#e9e9e9",
"dark-gray": "rgb(35,35,35)",
"medium-gray": "rgb(51, 51, 51)",
"state-success": "#00A180",
"state-pending": "#FFC01E",
"state-error": "#C96664",
social: {
twitter: "#00ACEE",
},
muted: {
100: "#969696",
200: "#cccccc",
300: "#969696",
400: "rgb(83, 86, 89)",
500: "rgb(51, 51, 51)",
600: "#969696",
700: "rgb(39,39,39)",
800: "rgb(35,35,35)",
900: "rgb(25,27,28)",
},
},
fontFamily: {
sans: ["Karla", ...defaultTheme.fontFamily.sans],
latex: ["RomanSerif", ...defaultTheme.fontFamily.sans],
roboto: ["Roboto", ...defaultTheme.fontFamily.sans],
pdf: ["Mulish", '"Segoe UI"', "Tahoma", "sans-serif"],
inter: ["Inter", ...defaultTheme.fontFamily.sans],
},
boxShadow: {
upperTealShadow: "inset 0px 1px 0 0 rgba(40, 170, 196, 1)",
popovers: "0 1px 20px 1px rgba(0, 0, 0, .5)",
Input: "inset 0px -2px 0px #555659",
InputActive: "inset 0px -2px 0px #28AAC4",
verifyInput: "inset 0px -1px 0px #555659",
verifyInputActive: "inset 0px -1px 0px #28AAC4",
},
minWidth: {
"49xl": "490xl",
...defaultTheme.width,
},
minHeight: {
"49xl": "490xl",
...defaultTheme.height,
},
},
},
variants: {
extend: {},
},
plugins: [
require("@tailwindcss/forms"),
require("flowbite/plugin"),
require("@tailwindcss/line-clamp"),
require("tailwindcss-animate"),
],
};