-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
58 lines (58 loc) · 1.7 KB
/
Copy pathtailwind.config.js
File metadata and controls
58 lines (58 loc) · 1.7 KB
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
/** @type {import('tailwindcss').Config} */
export default {
content: [
"./index.html",
"./src/**/*.{js,ts,jsx,tsx}",
],
darkMode: 'class',
theme: {
extend: {
colors: {
primary: {
DEFAULT: '#0077ff',
hover: '#0066dd',
light: '#e5f1ff',
dark: '#0a3a6b',
},
success: '#34c759',
error: '#ff3b30',
warning: '#ff9500',
},
fontFamily: {
sans: ['Inter', 'SF Pro Display', '-apple-system', 'BlinkMacSystemFont', 'sans-serif'],
display: ['Onest', 'Inter', 'SF Pro Display', '-apple-system', 'sans-serif'],
serif: ['"Playfair Display"', 'Georgia', 'Times New Roman', 'serif'],
},
animation: {
'float': 'float 6s ease-in-out infinite',
'float-delayed': 'float 6s ease-in-out infinite 2s',
'pulse-slow': 'pulse 4s ease-in-out infinite',
'gradient': 'gradient 8s ease infinite',
'fade-in-up': 'fadeInUp 0.6s ease-out',
'marquee': 'marquee 36s linear infinite',
},
keyframes: {
marquee: {
'0%': { transform: 'translateX(0)' },
'100%': { transform: 'translateX(-50%)' },
},
float: {
'0%, 100%': { transform: 'translateY(0px)' },
'50%': { transform: 'translateY(-20px)' },
},
gradient: {
'0%, 100%': { backgroundPosition: '0% 50%' },
'50%': { backgroundPosition: '100% 50%' },
},
fadeInUp: {
'0%': { opacity: '0', transform: 'translateY(20px)' },
'100%': { opacity: '1', transform: 'translateY(0)' },
},
},
backgroundSize: {
'300%': '300% 300%',
},
},
},
plugins: [],
}