-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
69 lines (69 loc) · 1.86 KB
/
tailwind.config.js
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
/** @type {import('tailwindcss').Config} */
module.exports = {
darkMode: 'selector',
mode: "all",
content: ["./src/**/*.{rs,html,css}", "./dist/**/*.html"],
theme: {
extend: {
keyframes: {
down: {
'0%': { transform: 'translateY(0%)' },
'100%': { transform: 'translateY(calc(45vh - 8rem))' }
},
shimmer: {
'0%': {
transform: 'translateX(-100%)'
},
'100%': {
transform: 'translateX(100%)'
}
}
},
animation: {
'move-down': 'down 3s linear infinite',
'shimmer': 'shimmer 2s cubic-bezier(0.4, 0, 0.6, 1) infinite'
},
boxShadow: {
neumorphic: '20px 20px 60px #d9d9d9, -20px -20px 60px #ffffff, 0 4px 6px -1px rgba(255, 255, 255, 0.1), 0 2px 4px -1px rgba(255, 255, 255, 0.06), 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)',
},
backgroundImage: theme => ({
'gradient-bg': 'linear-gradient(to right, #1A202C, black)', // bg-gray-950 is #1F2937
}),
colors: {
'background': {
DEFAULT: '#0A0F1A',
'light': '#FFFFFF'
},
'primary': {
DEFAULT: '#BB86FC',
'light': '#60a5fa',
'dark': '#3b82f6',
'hover': '#147197253'
},
'secondary': {
DEFAULT: '#03A9F4',
'light': '#e5e7eb',
'dark': '#374151'
},
'accent': {
'purple': {
DEFAULT: '#C084FC',
'hover': '#D8B4FE'
}
},
'surface': {
DEFAULT: '#1F2937',
'light': '#374151',
'dark': '#111827',
'hover': '#111827B3'
},
'text': {
'primary': '#FFFFFF',
'secondary': '#D1D5DB',
'muted': '#9CA3AF'
}
}
},
},
plugins: [],
};