forked from osamajavaid/portfolio
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
101 lines (101 loc) · 3.13 KB
/
tailwind.config.js
File metadata and controls
101 lines (101 loc) · 3.13 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
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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./pages/**/*.{js,ts,jsx,tsx}",
"./components/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {
colors: {
Green: "#1fdf64",
Black: "#000",
DeepNightBlack: "#121212",
MidNightBlack: "#181818",
EveningBlack: "#1a1a1a",
DarkGray: "#282828",
SlateGray: "#404040",
LightGray: "#959595",
SilverGray: "#B3B3B3",
Snow: "#ffffff",
},
fontFamily: {
'cascadia-normal': ['Cascadia Mono', 'monospace'],
'circular': ['Circular', 'sans-serif'],
'circular-light': ['Circular-Light', 'sans-serif'],
'circular-normal': ['Circular', 'sans-serif'],
'circular-medium': ['Circular-Medium', 'sans-serif'],
'circular-bold': ['Circular-Bold', 'sans-serif'],
'tech': ['"Share Tech"', 'sans-serif'], // Новый техно-шрифт
'neon': ['"Teko"', 'sans-serif'] // Стильный шрифт для кнопок
},
animation: {
flicker: 'flicker 1.5s ease-in-out infinite alternate',
pulse: 'pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite',
widthPulse: 'widthPulse 3s ease-in-out infinite',
textGlow: 'textGlow 2s ease-in-out infinite alternate',
underlineFlow: 'underlineFlow 3s linear infinite',
// Новая анимация для кнопки
btnPulse: 'btnPulse 2.5s ease-in-out infinite'
},
keyframes: {
flicker: {
'0%, 19%, 21%, 23%, 25%, 54%, 56%, 100%': {
opacity: '0.1',
transform: 'translateY(0)'
},
'20%, 24%, 55%': {
opacity: '0.3',
transform: 'translateY(-1px)'
}
},
pulse: {
'0%, 100%': { opacity: 1 },
'50%': {
opacity: 0.85,
textShadow: '0 0 15px rgba(31,223,100,0.9)'
}
},
widthPulse: {
'0%, 100%': { transform: 'scaleX(1)' },
'50%': { transform: 'scaleX(0.95)' }
},
textGlow: {
'0%': {
textShadow: '0 0 5px rgba(31,223,100,0.5)'
},
'100%': {
textShadow: '0 0 20px rgba(31,223,100,0.9)'
}
},
underlineFlow: {
'0%': {
backgroundPosition: '0% 50%'
},
'50%': {
backgroundPosition: '100% 50%'
},
'100%': {
backgroundPosition: '0% 50%'
}
},
// Новая анимация для кнопки
btnPulse: {
'0%, 100%': {
boxShadow: '0 0 0 0 rgba(31, 223, 100, 0.7)'
},
'70%': {
boxShadow: '0 0 0 10px rgba(31, 223, 100, 0)'
}
}
},
// Новые кастомные классы
textShadow: {
'neon': '0 0 5px #1fdf64, 0 0 10px #1fdf64',
'glow': '0 0 8px rgba(31, 223, 100, 0.8)'
}
},
},
plugins: [
require('tailwindcss-textshadow')
],
}