-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
64 lines (63 loc) · 1.65 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
/** @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: {
fontFamily: {
sans: ['Merriweather', 'sans-serif'],
serif: ['Merriweather', 'serif'],
'display': ['Oswald'],
'body': ['"Open Sans"'],
},
colors: {
transparent: 'transparent',
current: 'currentColor',
'white': '#ffffff',
'blue-purple': '#877FA8',
'lavendar': '#BD86A6',
'blossom': '#D47E97',
'choral': '#F59193',
'orange': '#F9AE91',
'yellow': '#FBF7BF',
'melon': '#FFB2B2',
},
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)" },
},
},
},
},
plugins: [],
}