-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
59 lines (58 loc) · 1.57 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
/** @type {import('tailwindcss').Config} */
module.exports = {
darkMode: "class",
content: [
"./app/**/*.{js,ts,jsx,tsx}",
"./pages/**/*.{js,ts,jsx,tsx}",
"./components/**/*.{js,ts,jsx,tsx}",
// Or if using `src` directory:
"./src/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {
screens: { sm: "480px", md: "768px", lg: "976px", xl: "1440pd" },
animation: {
fadeIn: "fadeIn 1.5s",
bounce:
"bounce 0.5s alternate cubic-bezier(0.95, 0.05, 0.795, 0.035) infinite",
slideUp: "slideUp 0.5s",
slideUpEaseInOut: "slideUp 0.5s ease-in-out",
slideUpCubiBezier: "slideUp 1s cubic-bezier(0.165, 0.84, 0.44, 1)",
},
animationDelay: {
0: "0s",
2: "0.2s",
4: "0.4s",
6: "0.6s",
},
keyframes: {
fadeIn: {
from: { opacity: 0 },
to: { opacity: 1 },
},
slideUp: {
from: { transform: "translateY(100%)" },
to: { transform: "translateY(0)" },
},
bounce: {
from: { transform: "translateY(10px)" },
to: { transform: "translateY(0)" },
},
},
colors: {
"sage-green-1": "#78866b",
"sage-green-2": "#a2b29f",
"sage-green-3": "#c5d1b8",
"sage-green-4": "#e0e9d8",
"sage-green-5": "#abc5ae",
"sage-green-6": "#b6ceb8",
"good-green": "#a3bd90",
"brown-1": "#6b5a48",
"dark-brown-1": "#4a3e32",
"cream-1": "#e7d8c9",
"cream-2": "#fff4e9",
},
},
},
plugins: [],
};