-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.cjs
68 lines (67 loc) · 1.68 KB
/
tailwind.config.cjs
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
/* eslint-disable @typescript-eslint/no-var-requires */
/** @type {import('tailwindcss').Config} */
const colors = require("tailwindcss/colors");
module.exports = {
content: ["./src/**/*.{js,ts,jsx,tsx}"],
darkMode: "class",
theme: {
extend: {
fontFamily: {
sans: ["Inter", "sans-serif"],
},
keyframes: {
overlayShow: {
"0%": { opacity: 0 },
"100%": { opacity: 1 },
},
overlayHide: {
"0%": { opacity: 1 },
"100%": { opacity: 0 },
},
contentShow: {
"0%": {
opacity: 0,
transform: "translate3D(-50%, calc(-50% + 20px), 0) scale(0.9)",
},
"100%": {
opacity: 1,
transform: "translate3D(-50%, -50%, 0) scale(1)",
},
},
contentHide: {
"0%": {
opacity: 1,
transform: "translate3D(-50%, -50%, 0) scale(9)",
},
"100%": {
opacity: 0,
transform: "translate3D(-50%, calc(-50% + 20px), 0) scale(1)",
},
}
},
animation: {
openWrapper: "contentShow .3s ease-in",
closeWrapper: "contentHide .3s ease-out",
openOverlay: "overlayShow .2s ease-out",
closeOverlay: "overlayHide .2s ease-out",
},
},
colors: {
gray: {
100: "#F8F8F8",
200: "#FEFEFE",
300: "#EBEBEB",
400: "#7E7E86",
800: "#29292E",
900: "#0E0E10",
},
white: colors.white,
indigo: colors.indigo,
zinc: colors.zinc,
emerald: colors.emerald,
amber: colors.amber,
red: colors.red,
},
},
plugins: [],
};