-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtailwind.config.js
More file actions
72 lines (65 loc) · 1.73 KB
/
Copy pathtailwind.config.js
File metadata and controls
72 lines (65 loc) · 1.73 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
/** @type {import('tailwindcss').Config} */
export default {
content: ['./index.html', './src/**/*.{js,ts,jsx,tsx}'],
important: true,
darkMode: 'class',
theme: {
extend: {
// text
fontSize: {
'size-title': ['1.5rem', '2rem'],
'size-body': ['1rem', '1.5rem'],
'size-subbody': ['0.75rem', '1rem'],
},
// rounded
borderRadius: {
'button-radius': '0.75rem',
'big-radius': '1rem',
'small-radius': '0.375rem',
'image-radius': '0.625rem',
},
// w
spacing: {
'big-button': '10rem',
'small-button': '5rem',
'common-screen-width': '1120px',
},
// bg, text...
colors: {
// 메인컬러 오렌지색
'main-color': '#ff5e2e',
'main-hover-color': '#d94e25',
'main-light-color': '#fff5f2',
// 다크모드 배경색
'dark-main-color': '#0f172a',
'dark-light-color': '#cbd5e1',
// 서브컬러 초록색
'sub-color': '#3a823f',
'sub-hover-color': '#26592a',
'black-color': '#111111',
'light-gray-color': '#f2efef',
'dark-gray-color': '#999999',
},
screens: {
tablet: '768px',
// => @media (min-width: 768px)
'chat-screen': '1024px',
// => @media (min-width: 768px)
desktop: '1120px',
// => @media (min-width: 1120px)
},
// animation
keyframes: {
wiggle: {
'0%, 100%': { transform: 'rotate(-10deg)' },
'50%': { transform: 'rotate(10deg)' },
},
},
animation: {
wiggle: 'wiggle 2s ease-in-out infinite',
spinSlow: 'spin 15s linear infinite',
},
},
},
plugins: [],
}