-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
50 lines (47 loc) · 1.87 KB
/
tailwind.config.js
File metadata and controls
50 lines (47 loc) · 1.87 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
/** @type {import("tailwindcss").Config} */
export default {
content: ['./src/**/*.{js,jsx,ts,tsx}'],
theme: {
extend: {
boxShadow: {
'custom-bottom': '0 4px 6px -1px rgba(0, 0, 0, 0.1)', // 하단 그림자
'custom-strong-bottom': '0 8px 15px rgba(0, 0, 0, 0.2)', // 더 강한 하단 그림자
floating: '0 10px 15px rgba(0, 0, 0, 0.1), 10px 8px 5px rgba(0, 0, 0, 0.5)',
},
animation: {
'move-bg': 'moveBackground 5s linear infinite', // 사용자 정의 애니메이션
lightBeam: 'lightBeam 2s',
},
keyframes: {
moveBackground: {
'0%': { transform: 'translate(0, 0)' },
'100%': { transform: 'translate(-60px, -60px)' },
},
lightBeam: {
'0%': { transform: 'translateY(-100%)', opacity: '0' },
'50%': { opacity: '0.5' },
'100%': { transform: 'translateY(100%)', opacity: '0' },
},
},
button: {
basic:
'w-full py-3 m-2 bg-orange-500 border-white hover:border-opacity-100 border-2 border-opacity-0 text-white rounded-md duration-300 hover:shadow-floating hover:-translate-y-1 hover:-translate-x-0.5 transition-all hover:bg-orange-500',
},
w: {
basic: 'full',
},
backgroundSize: {
pattern: '60px 60px', // 패턴 크기
},
backgroundImage: {
'background-pattern':
'url(\'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text x="10" y="50" font-size="50">🐹</text></svg>\')',
},
cursor: {
circle:
'url(\'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" width="32" height="32"><path d="M464 256A208 208 0 1 0 48 256a208 208 0 1 0 416 0zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256z"/></svg>\') 16 16, auto',
},
},
},
plugins: [],
};