forked from Bibek99/givers-frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
112 lines (111 loc) · 3.52 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
const colors = require("tailwindcss/colors")
module.exports = {
purge: ["./src/**/*.{js,jsx,ts,tsx}", "./public/index.html"],
darkMode: "media", // or 'media' or 'class'
theme: {
extend: {
backgroundImage: (theme) => ({
bgPattern: "url('/src/assets/bgpattern.svg')",
bgSocial: "url('/src/assets/social-bg.svg')",
}),
boxShadow: {
"2xlpurple":
"-20px 20px 25px -5px rgba(140, 48, 245, 0.25), 0 10px 10px -5px rgba(140, 48, 245, 0.25)",
},
inset: {
15: "3.75rem",
17: "4.25rem",
28: "7rem",
30: "7.5rem",
38: "9.5rem",
50: "12.5rem",
58: "14.5rem",
68: "17rem",
73: "18.25rem",
76: "19rem",
},
blur: {
xs: "2px",
},
colors: {
fuchsia: colors.fuchsia,
orange: colors.orange,
teal: colors.teal,
},
animation: {
blob: "blob 7s linear infinite",
blob2: "blob2 4s linear infinite",
shimmer: "shimmer 2s linear infinite",
},
keyframes: {
blob: {
"0%": {
transform: "translate(0px, 0px) scale(1)",
},
"33%": {
transform:
"translate(30px, -50px) scale(1.1)",
},
"66%": {
transform:
"translate(-20px, 20px) scale(0.9)",
},
"100%": {
transform: "translate(0px, 0px) scale(1)",
},
},
blob2: {
"0%": {
transform: "translate(0px, 0px) scale(1)",
},
"33%": {
transform:
"translate(10px, -30px) scale(1.1)",
},
"66%": {
transform: "translate(0px, 20px) scale(0.9)",
},
"100%": {
transform: "translate(0px, 0px) scale(1)",
},
},
shimmer: {
"0%": {
transform: "translateX(-150%)",
},
"25%": {
transform: "translateX(-75%)",
},
"50%": {
transform: "translateX(0%)",
},
"75%": {
transform: "translateX(75%)",
},
"100%": {
transform: "translateX(150%)",
},
},
},
width: {
112: "28rem",
128: "32rem",
144: "36rem",
176: "44rem",
192: "48rem",
},
},
},
variants: {
extend: {
opacity: ["disabled"],
backgroundColor: ["disabled"],
cursor: ["disabled"],
blur: ["hover"],
brightness: ["hover"],
display: ["hover"],
ringWidth: ["hover", "active"],
},
},
plugins: [],
}