-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
101 lines (101 loc) · 2.74 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
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} */
import scrollbarHide from 'tailwind-scrollbar-hide';
export default {
content: ['./index.html', './src/**/*.{js,ts,jsx,tsx}'],
theme: {
extend: {
colors: {
'green-50': '#ebffeb',
'green-70': '#D4EBE2',
'green-100': '#96d8bf',
'coral-50': '#FEDCDA',
'coral-100': '#fd8d83',
'beige-10': '#f7f5f0',
'beige-100': '#fff4dc',
'gray-10': '#eeeeee',
'gray-100': '#d9d9d9',
'gray-200': '#919191',
'gray-300': '#585858',
black: '#1f1f1f',
white: '#fefeff',
layoutBgColor: '#d9d9d9', // 추후 그림?
bodyLayoutBgColor: '#f7f5f0',
},
width: {
'layout-w': '136.6rem',
},
keyframes: {
overlayShow: {
from: {
opacity: 0,
},
to: {
opacity: 1,
},
},
gameRoomList: {
'0%': {
backgroundPosition: '100% 50%',
},
'100%': {
backgroundPosition: '0 50%',
},
},
blinkTimer: {
'50%': { color: 'red' },
},
neonTop: {
'0%': {
left: '-100%',
},
'50%, 100%': {
left: '100%',
},
},
neonRight: {
'0%': {
top: '-100%',
},
'50%, 100%': {
top: '100%',
},
},
neonBottom: {
'0%': {
right: '-100%',
},
'50%, 100%': {
right: '100%',
},
},
neonLeft: {
'0%': {
bottom: '-100%',
},
'50%, 100%': {
bottom: '100%',
},
},
},
animation: {
blinkTimer: 'blinkTimer 1s ease-in-out infinite',
neonTop: 'neonTop 1s linear infinite 0s',
neonRight: 'neonRight 1s linear infinite 0.25s',
neonBottom: 'neonBottom 1s linear infinite 0.5s',
neonLeft: 'neonLeft 1s linear infinite 0.75s',
gameRoomList: 'gameRoomList ease-in 0.5s forwards',
},
backgroundImage: {
'gradient-radial':
'radial-gradient(rgba(200,0,0,0.40) 0%,rgba(255,0,255,0.00) 100%)',
},
boxShadow: {
default:
'0 1px 3px 1px rgba(252, 252, 252, 1), -1px 6px 8px rgba(214, 215, 217, 1), 0 -2px 4px rgba(206, 207, 210, 1), 0 -6px 4px rgba(244, 245, 246, 1), inset 0 0 3px 0 rgba(206, 207, 209, 1)',
hover:
'0 1px 3px 1px rgba(252, 252, 252, 1), -1px 6px 8px rgba(214, 215, 217, 1), 0 -2px 4px rgba(206, 207, 210, 1), 0 -6px 4px rgba(244, 245, 246, 1), inset 0 0 3px 3px rgba(206, 207, 209, 1)',
},
},
},
plugins: [scrollbarHide],
};