-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
37 lines (36 loc) · 919 Bytes
/
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
const colors = require("tailwindcss/colors");
module.exports = {
purge: ["./pages/**/*.{js,ts,jsx,tsx}", "./components/**/*.{js,ts,jsx,tsx}"],
darkMode: false, // or 'media' or 'class'
theme: {
extend: {
colors: {
primary: "#0070f3",
},
minWidth: {
"1/4": "25%",
"1/2": "50%",
"3/4": "75%",
},
animation: {
"bounce-horizontal": "keyframes-bounce-horizontal 1s infinite",
},
keyframes: {
"keyframes-bounce-horizontal": {
"0%, 100%": {
transform: "translateX(0)",
animationTimingFunction: "cubic-bezier(0.8, 0, 1, 1)",
},
"50%": {
transform: "translateX(25%)",
animationTimingFunction: "cubic-bezier(0, 0, 0.2, 1)",
},
},
},
},
},
variants: {
extend: { animation: ["group-hover"] },
},
plugins: [],
};