-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.ts
134 lines (133 loc) · 3.51 KB
/
tailwind.config.ts
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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
/* eslint-disable global-require */
import type { Config } from 'tailwindcss'
const config: Config = {
content: ['./src/**/*.{js,ts,jsx,tsx,mdx}'],
theme: {
colors: {
gray: {
0: '#ffffff',
50: '#fafafa',
100: '#f5f5f5',
200: '#e5e5e5',
300: '#d4d4d4',
400: '#a3a3a3',
600: '#525252',
700: '#404040',
800: '#262626',
900: '#171717',
950: '#0a0a0a',
1000: '#000000',
},
neutral: {
500: '#737373',
},
positive: '#10b981',
negative: '#ef4444',
transparent: 'transparent',
kakao: '#FEE500',
facebook: '#337FFF',
},
fontSize: {
xxs: '10px',
xs: '12px',
sm: '16px',
md: '18px',
lg: '20px',
xl: '24px',
'2xl': '28px',
'3xl': '32px',
'4xl': '36px',
},
lineHeights: {
xxs: '12px',
xs: '16px',
sm: '24px',
md: '32px',
lg: '40px',
xl: '48px',
'2xl': '52px',
},
fontWeight: {
thin: '100',
regular: '400',
semiBold: '600',
bold: '700',
},
letterSpacing: {
tight: '-0.2px',
},
extend: {
height: {
dvh: 'var(--dynamic-vh)',
},
minHeight: {
dvh: 'var(--dynamic-vh)',
},
fontFamily: {
pretendard: ['var(--font-pretendard-variable)'],
jooree: ['var(--font-jooree)', 'var(--font-pretendard-variable)'],
hesom: ['var(--font-hesom)', 'var(--font-pretendard-variable)'],
eunyoung: ['var(--font-eunyoung)', 'var(--font-pretendard-variable)'],
ttaerom: ['var(--font-ttaerom)', 'var(--font-pretendard-variable)'],
hipi: ['var(--font-hipi)', 'var(--font-pretendard-variable)'],
},
keyframes: {
'slide-left': {
'0%': {
transform: 'translateX(100%)',
},
'100%': {
transform: 'translateX(-100%)',
},
},
'slide-left-delay': {
'0%': {
transform: 'translateX(0%)',
},
'100%': {
transform: 'translateX(-200%)',
},
},
'slide-right': {
'0%': {
transform: 'translateX(-100%)',
},
'100%': {
transform: 'translateX(100%)',
},
},
'slide-right-delay': {
'0%': {
transform: 'translateX(-200%)',
},
'100%': {
transform: 'translateX(0%)',
},
},
},
animation: {
'slide-left': 'slide-left 30s linear -30s infinite',
'slide-left-delay': 'slide-left-delay 30s linear -15s infinite',
'slide-right': 'slide-right 30s linear -30s infinite',
'slide-right-delay': 'slide-right-delay 30s linear -15s infinite',
},
boxShadow: {
header: '0px 1px 2px 0px rgba(0, 0, 0, 0.10)',
button: '0px 4px 8px 0px rgba(0, 0, 0, 0.15)',
signupGenderBtn: '2px 4px 0px 0px rgba(0, 0, 0, 0.30)',
popup: '0px 4px 8px 0px rgba(0, 0, 0, 0.15)',
myPageBox:
'0px 1px 1px 0px rgba(0, 0, 0, 0.25), 0px 2px 4px 0px rgba(0, 0, 0, 0.25)',
polaroid:
'0px 0.597px 0.597px 0px rgba(0, 0, 0, 0.25), 0px 1.194px 2.389px 0px rgba(0, 0, 0, 0.25)',
screenshot: '0px 2.143px 12.857px 0px rgba(0, 0, 0, 0.16);',
},
aspectRatio: {
vertical: '10 / 13',
horizontal: '13 / 10',
},
},
},
plugins: [require('tailwind-scrollbar-hide')],
}
export default config