-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
61 lines (61 loc) · 1.63 KB
/
Copy pathtailwind.config.js
File metadata and controls
61 lines (61 loc) · 1.63 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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
'./app/**/*.{js,ts,jsx,tsx,mdx}',
'./components/**/*.{js,ts,jsx,tsx,mdx}',
],
theme: {
extend: {
colors: {
brand: {
50: '#f5f3ff',
100: '#ede9fe',
200: '#ddd6fe',
400: '#a78bfa',
500: '#8b5cf6',
600: '#6C5CE7', // primary
700: '#5b21b6',
800: '#4c1d95',
900: '#3d2b8e',
},
},
fontFamily: {
sans: ['var(--font-sans)', 'system-ui', 'sans-serif'],
},
borderRadius: {
'2xl': '1rem',
'3xl': '1.5rem',
},
animation: {
wiggle: 'wiggle 1.8s ease-in-out infinite',
bounce2: 'bounce2 1.2s ease-in-out infinite',
pop: 'pop 0.25s ease-out',
'fade-in': 'fadeIn 0.3s ease-out',
'slide-up': 'slideUp 0.3s ease-out',
},
keyframes: {
wiggle: {
'0%,100%': { transform: 'rotate(-6deg)' },
'50%': { transform: 'rotate(6deg)' },
},
bounce2: {
'0%,100%': { transform: 'translateY(0)' },
'50%': { transform: 'translateY(-4px)' },
},
pop: {
'0%': { transform: 'scale(0.9)', opacity: '0' },
'100%': { transform: 'scale(1)', opacity: '1' },
},
fadeIn: {
'0%': { opacity: '0' },
'100%': { opacity: '1' },
},
slideUp: {
'0%': { transform: 'translateY(12px)', opacity: '0' },
'100%': { transform: 'translateY(0)', opacity: '1' },
},
},
},
},
plugins: [],
}