-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
106 lines (105 loc) ยท 2.96 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
102
103
104
105
106
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
'./src/pages/**/*.{js,ts,jsx,tsx}',
'./src/components/**/*.{js,ts,jsx,tsx}',
],
theme: {
extend: {},
colors: {
green: {
light: '#69FFA5',
DEFAULT: '#18FF74',
opacity_10: 'rgba(105, 255, 165, 0.1);',
},
blue: {
light: '#55ADFF',
DEFAULT: '#1890FF',
google: {
DEFAULT: '#4285f4',
active: '#1669F2',
},
},
violet: {
light: '#9577FF',
DEFAULT: '#6236FD',
},
gray: {
900: '#080808',
700: '#2D2D2D',
600: '#515151',
500: '#747474',
400: '#A3A3A3',
300: '#C9C9C9',
100: '#FEFEFE',
},
white: '#fff',
},
backgroundImage: {
green_gradient: 'linear-gradient(64.24deg, #18FF74 12.45%, #18ACFF 100%)',
blue_gradient:
'linear-gradient(61.53deg, #2400A2 -5.41%, #374BFF 35.21%, #18FF74 100%)',
violent_gradient:
'linear-gradient(61.53deg, #673CFF 30.27%, #1D77FF 100%)',
darken_gradient:
'linear-gradient(180deg, rgba(8, 8, 8, 0) 0%, #080808 72.93%)',
},
boxShadow: {
shadow: 'inset 0px 1px 0px rgba(255, 255, 255, 0.1)',
blur: '0px 0px 20px rgba(164, 170, 172, 0.25)',
google: '0 3px 4px 0 rgba(0,0,0,.25)',
},
screens: {
mobile: '375px',
},
fontSize: {
title1: ['30px', '38px'],
title2: ['24px', '32px'],
headline: ['20px', '28px'],
subtitle: ['18px', '26px'],
body1: ['16px', '24px'],
body2: ['14px', '22px'],
caption: ['12px', '20px'],
},
fontFamily: {
pretendard: ['PretendardVariable', 'sans-serif'],
},
animation: {
fadeIn: 'fadeIn .2s ease-in',
fadeOut: 'fadeOut .2s ease-out',
slideIn: 'slideIn .3s ease-in',
slideOut: 'slideOut .3s ease-out',
slideUp: 'slideUp .3s ease-out',
slideDown: 'slideDown .3s ease-out',
},
keyframes: {
fadeIn: {
'0%': { backgroundColor: 'rgba(0.8, 0.8, 0.8, 0)' },
'50%': { backgroundColor: 'rgba(0.8, 0.8, 0.8, 0.3)' },
'100%': { backgroundColor: 'rgba(0.8, 0.8, 0.8, 0.6)' },
},
slideIn: {
'0%': { transform: 'translateX(100%)' },
'100%': { transform: 'translateX(0)' },
},
fadeOut: {
'0%': { backgroundColor: 'rgba(0.8, 0.8, 0.8, 0.6)' },
'50%': { backgroundColor: 'rgba(0.8, 0.8, 0.8, 0.3)' },
'100%': { backgroundColor: 'rgba(0.8, 0.8, 0.8, 0.0)' },
},
slideOut: {
'0%': { transform: 'translateX(0)' },
'100%': { transform: 'translateX(100%)' },
},
slideUp: {
'0%': { transform: 'translateY(100%)' },
'100%': { transform: 'translateX(0)' },
},
slideDown: {
'0%': { transform: 'translateY(0%)' },
'100%': { transform: 'translateY(100%)' },
},
},
},
plugins: [require('@tailwindcss/line-clamp')],
}