-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathtailwind.config.ts
105 lines (103 loc) · 2.74 KB
/
tailwind.config.ts
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
import type { Config } from 'tailwindcss';
const config: Config = {
content: [
'./src/pages/**/*.{js,ts,jsx,tsx,mdx}',
'./src/components/**/*.{js,ts,jsx,tsx,mdx}',
'./src/app/**/*.{js,ts,jsx,tsx,mdx}',
],
theme: {
extend: {
backgroundImage: {
'gradient-radial': 'radial-gradient(var(--tw-gradient-stops))',
'gradient-conic': 'conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))',
},
colors: {
theme: '#63d297',
bgBase: '#000000',
bgDim: '#083331',
bgMid: '#0F4948',
bgLight: '#196660',
textDark: '#2F9987',
textDim: '#51CCA6',
textMid: '#6BE3B1',
textLight: '#7EFFC3'
},
fontFamily: {
sans: [
'Lucida Sans',
'Lucida Sans Regular',
'Lucida Grande',
'Lucida Sans Unicode',
'Geneva',
'Verdana',
'sans-serif',
],
},
animation: {
'bounce-in': 'bounce-in-top 1.1s both',
'slide-in-left': 'slide-in-left 0.5s ease-out forwards',
'hover-line': 'hover-line 0.3s ease-out forwards', // New animation for hover line
},
keyframes: {
'bounce-in-top': {
'0%': {
transform: 'translateY(-500px)',
'animation-timing-function': 'ease-in',
opacity: '0',
},
'38%': {
transform: 'translateY(0)',
'animation-timing-function': 'ease-out',
opacity: '0',
},
'55%': {
transform: 'translateY(-65px)',
'animation-timing-function': 'ease-in',
},
'72%': {
transform: 'translateY(0)',
'animation-timing-function': 'ease-out',
},
'81%': {
transform: 'translateY(-28px)',
'animation-timing-function': 'ease-in',
},
'90%': {
transform: 'translateY(0)',
'animation-timing-function': 'ease-out',
},
'95%': {
transform: 'translateY(-8px)',
'animation-timing-function': 'ease-in',
},
'100%': {
transform: 'translateY(0)',
'animation-timing-function': 'ease-out',
},
},
'slide-in-left': {
'0%': {
transform: 'translateX(-100%)',
opacity: '0',
},
'100%': {
transform: 'translateX(0)',
opacity: '1',
},
},
'hover-line': {
'0%': {
width: '0',
left: '50%',
},
'100%': {
width: '100%',
left: '0',
},
},
},
},
},
plugins: [],
};
export default config;