-
-
Notifications
You must be signed in to change notification settings - Fork 33
Expand file tree
/
Copy pathtailwind.config.js
More file actions
73 lines (71 loc) · 1.99 KB
/
tailwind.config.js
File metadata and controls
73 lines (71 loc) · 1.99 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
/**
* @copyright 2024-2026 nirholas. All rights reserved.
* @license SPDX-License-Identifier: SEE LICENSE IN LICENSE
* @see https://github.com/nirholas/free-crypto-news
*
* This file is part of free-crypto-news.
* Unauthorized copying, modification, or distribution is strictly prohibited.
* For licensing inquiries: nirholas@users.noreply.github.com
*/
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./src/**/*.{js,ts,jsx,tsx}",
],
darkMode: 'class',
theme: {
extend: {
colors: {
brand: {
50: '#eff6ff',
100: '#dbeafe',
200: '#bfdbfe',
300: '#93c5fd',
400: '#60a5fa',
500: '#3b82f6',
600: '#2563eb',
700: '#1d4ed8',
800: '#1e40af',
900: '#1e3a8a',
},
},
boxShadow: {
'card': '0 4px 12px -2px rgba(0, 0, 0, 0.08), 0 2px 6px -2px rgba(0, 0, 0, 0.04)',
},
animation: {
'fadeIn': 'fadeIn 0.5s ease-out forwards',
'slideUp': 'slideUp 0.5s ease-out forwards',
'scaleIn': 'scaleIn 0.3s ease-out forwards',
'shimmer': 'shimmer 2s infinite',
'typewriter': 'typewriter 2s steps(40) forwards, blink 0.7s step-end infinite',
},
keyframes: {
fadeIn: {
'0%': { opacity: '0' },
'100%': { opacity: '1' },
},
slideUp: {
'0%': { opacity: '0', transform: 'translateY(20px)' },
'100%': { opacity: '1', transform: 'translateY(0)' },
},
scaleIn: {
'0%': { opacity: '0', transform: 'scale(0.9)' },
'100%': { opacity: '1', transform: 'scale(1)' },
},
shimmer: {
'100%': { transform: 'translateX(100%)' },
},
typewriter: {
'0%': { width: '0' },
'100%': { width: '100%' },
},
blink: {
'50%': { borderColor: 'transparent' },
},
},
},
},
plugins: [
require('@tailwindcss/typography'),
],
}