-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
67 lines (66 loc) · 1.79 KB
/
Copy pathtailwind.config.js
File metadata and controls
67 lines (66 loc) · 1.79 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
59
60
61
62
63
64
65
66
/** @type {import('tailwindcss').Config} */
export default {
content: [
"./index.html",
"./src/**/*.{js,ts,jsx,tsx}",
],
darkMode: 'class', // Enable class-based dark mode
theme: {
extend: {
colors: {
space: {
900: '#0a0a0f',
800: '#1a1a2e',
700: '#16213e',
600: '#0f3460',
500: '#e94560',
400: '#f39c12',
300: '#74b9ff',
200: '#a29bfe',
100: '#fd79a8'
},
primary: {
50: '#f0f9ff',
500: '#0ea5e9',
600: '#0284c7',
700: '#0369a1',
800: '#075985',
900: '#0c4a6e',
}
},
fontFamily: {
'sans': ['Inter', 'system-ui', 'sans-serif'],
'display': ['Space Grotesk', 'system-ui', 'sans-serif'],
},
animation: {
'float': 'float 6s ease-in-out infinite',
'pulse-slow': 'pulse 4s cubic-bezier(0.4, 0, 0.6, 1) infinite',
'fade-in': 'fadeIn 0.5s ease-in',
'slide-up': 'slideUp 0.5s ease-out',
'glow': 'glow 2s ease-in-out infinite alternate',
},
keyframes: {
float: {
'0%, 100%': { transform: 'translateY(0px)' },
'50%': { transform: 'translateY(-20px)' },
},
fadeIn: {
'0%': { opacity: '0' },
'100%': { opacity: '1' },
},
slideUp: {
'0%': { transform: 'translateY(100px)', opacity: '0' },
'100%': { transform: 'translateY(0px)', opacity: '1' },
},
glow: {
'0%': { boxShadow: '0 0 5px #0ea5e9, 0 0 10px #0ea5e9, 0 0 15px #0ea5e9' },
'100%': { boxShadow: '0 0 10px #0ea5e9, 0 0 20px #0ea5e9, 0 0 30px #0ea5e9' },
}
},
backdropBlur: {
xs: '2px',
}
},
},
plugins: [],
}