-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.ts
76 lines (72 loc) · 1.62 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
import type { Config } from 'tailwindcss'
const defaultTheme = require('tailwindcss/defaultTheme')
const config: Config = {
content: ['./index.html', './src/**/*.{js,ts,jsx,tsx}'],
theme: {
extend: {
colors: {
pink: '#EE518A',
lightPink: '#FDD4E3',
white: '#FFFFFF',
palePink: '#FFF8F9',
whitePink: '#FFFDFE',
black: '#1B0404',
gray: '#C8C8C8',
},
fontSize: {
titleBold: [
'32px',
{
fontWeight: '700',
lineHeight: '41.6px',
},
],
title: [
'24px',
{
fontWeight: '400',
lineHeight: '31.2px',
},
],
button: [
'20px',
{
fontWeight: '500',
lineHeight: '26px',
},
],
body1: [
'16px',
{
fontWeight: '400',
lineHeight: '20.8px',
},
],
body2: [
'14px',
{
fontWeight: '400',
lineHeight: '19.5px',
},
],
caption: [
'12px',
{
fontWeight: '400',
lineHeight: '15.6px',
},
],
},
fontFamily: {
sans: ['Pretendard Variable', ...defaultTheme.fontFamily.sans],
},
},
boxShadow: {
inputField: '0px 0px 8px 0px rgba(21, 21, 21, 0.10) inset',
typeBtn: '0px 0px 8px 0px rgba(21, 21, 21, 0.05)',
},
},
plugins: [require('tailwindcss-animated'), require('tailwind-scrollbar-hide')],
darkMode: 'class',
}
export default config