-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtailwind.config.js
84 lines (83 loc) · 2.12 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
/** @type {import('tailwindcss').Config} */
const defaultTheme = require("tailwindcss/defaultTheme");
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./pages/**/*.{js,ts,jsx,tsx}",
"./components/**/*.{js,ts,jsx,tsx}",
],
theme: {
screens: {
...defaultTheme.screens,
},
extend: {
backgroundImage: () => ({
"gradient-radial": "radial-gradient(#13213E, #111829)",
}),
boxShadow: {
"depth-1": "0px 3px 6px rgba(15, 15, 15, 0.5)",
},
colors: {
blue: {
DEFAULT: "#3b82f6",
},
pink: {
DEFAULT: "#ec4899",
},
green: {
DEFAULT: "#22c55e",
},
red: {
DEFAULT: "#ef4444",
},
yellow: {
DEFAULT: "#eab308",
},
},
animation: {
ellipsis: "ellipsis 1.25s infinite",
"spin-slow": "spin 2s linear infinite",
heartbeat: "heartbeat 1s ease 0.2s infinite normal forwards",
rotate: "rotate360 1s cubic-bezier(0.83, 0, 0.17, 1) infinite",
},
keyframes: {
ellipsis: {
"0%": { content: '"."' },
"33%": { content: '".."' },
"66%": { content: '"..."' },
},
heartbeat: {
"0%": {
transform: "scale(1)",
transformOrigin: "center center",
animationTimingFunction: "ease-out",
},
"10%": {
animationTimingFunction: "ease-out",
transform: "scale(0.91)",
},
"17%": {
animationTimingFunction: "ease-out",
transform: "scale(0.98)",
},
"33%": {
animationTimingFunction: "ease-out",
transform: "scale(0.87)",
},
"45%": { animationTimingFunction: "ease-out", transform: "scale(1)" },
},
rotate360: {
from: {
transform: "rotate(0deg)",
},
to: {
transform: "rotate(360deg)",
},
},
},
},
fontFamily: {
sans: ["Inter", ...defaultTheme.fontFamily.sans],
},
},
};