-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
98 lines (92 loc) · 2.99 KB
/
tailwind.config.ts
File metadata and controls
98 lines (92 loc) · 2.99 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
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
import type { Config } from 'tailwindcss'
import { basePath } from './utils/path'
const config: Config = {
important: true,
content: [
'./pages/**/*.{js,ts,jsx,tsx,mdx}',
'./components/**/*.{js,ts,jsx,tsx,mdx}',
'./app/**/*.{js,ts,jsx,tsx,mdx}',
],
theme: {
extend: {
fontFamily: {
Pretendard: ['Pretendard'],
AbhayaLibre: ['AbhayaLibre'],
},
colors: {
'purple-main': '#A869EE',
'main-primary': '#F7CE65',
'main-secondary': '#00DE4F',
'main-tertiary': '#E8E8E8',
'typo-black': '#fff',
'typo-white': '#fff',
'typo-primary': '#F7CE65',
'background-primary': '#111827',
'background-secondary': '#1f2937',
'background-default': '#4b5563',
'networking-purple': '#DDD4FC',
'networking-purple-2': '#F3EAFD',
'networking-green': '#96F8C0',
'networking-green-2': '#D7F5E4',
'networking-yellow': '#F7CE65',
'networking-yellow-2': '#FBEBC1',
'networking-red': '#FFB6B6',
'networking-blue': '#CEE9FA',
},
keyframes: {
moveLeft: {
'0%': { transform: 'translateX(0)' },
'100%': { transform: 'translateX(-33.333%)' },
},
moveRight: {
'0%': { transform: 'translateX(-100%)' },
'100%': { transform: 'translateX(0)' },
},
},
animation: {
'move-left': 'moveLeft 25s linear infinite',
'move-right': 'moveRight 30s linear infinite',
},
backgroundImage: {
'name-card-1': `url('${basePath}/images/NameCard_1.png')`,
'name-card-2': `url('${basePath}/images/NameCard_2.jpg')`,
'name-card-3': `url('${basePath}/images/NameCard_3.svg')`,
banner: `url('${basePath}/images/Banner_2.svg')`,
},
fontSize: {
h1: ['3.125rem', { lineHeight: '3.5rem', fontWeight: 700 }],
h2: ['2.5rem', { lineHeight: '2.8rem', fontWeight: 700 }],
h3: ['1.625rem', { lineHeight: '2.4rem', fontWeight: 600 }],
'sub-h1': ['1.2rem', { lineHeight: '2.3rem', fontWeight: 600 }],
'sub-h2': ['1rem', { lineHeight: '1.5rem', fontWeight: 600 }],
body1: ['1.3rem', { lineHeight: '2.3rem', fontWeight: 400 }],
body2: ['1rem', { lineHeight: '1.5rem', fontWeight: 400 }],
body3: ['0.8rem', { lineHeight: '1.3rem', fontWeight: 400 }],
'mobile-h1': ['2.125rem', { lineHeight: '2.75rem', fontWeight: 600 }],
'mobile-h2': ['1.125rem', { lineHeight: '1.75rem', fontWeight: 600 }],
'mobile-body2': [
'0.875rem',
{ lineHeight: '1.375rem', fontWeight: 400 },
],
'mobile-sub-h2': [
'0.875rem',
{ lineHeight: '1.375rem', fontWeight: 600 },
],
},
},
screens: {
'desktop-xl': '1920px',
desktop: '1024px',
tablet: '768px',
mobile: '640px',
},
lineHeight: {
14: '3.5rem',
},
rotate: {
45: '45deg',
},
},
plugins: [],
}
export default config