-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
60 lines (59 loc) · 1.41 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
const progressBarPallet = [
'#FD0F9E',
'#671BC9',
'#FD810F',
'#00D0FE',
'#FD3A0F',
'#BCFE00',
'#FDBA0F',
'#0CE2AF',
'#FE6B00',
'#BD01DC',
'#0084FE',
'#7EE42D',
'#4F14F9',
'#0DB427',
'#0EADAD',
]
module.exports = {
content: ['./pages/**/*.{js,ts,jsx,tsx}', './components/**/*.{js,ts,jsx,tsx}'],
plugins: [
require('@tailwindcss/forms'),
require('@tailwindcss/typography')
],
safelist: [...progressBarPallet.map((_, idx) => `bg-progress-bar-${idx}`)],
theme: {
extend: {
fontFamily: {
montserrat: ['Montserrat'],
'space-grotesk': ['Space Grotesk'],
},
fontSize: {
xs: ['0.875rem', '2rem'], // 14px 32px
sm: ['1rem', '2rem'], // 16px 32px
base: ['1.125rem', '2rem'], // 18px 32px
lg: ['1.5rem', '1.914rem'], // 24px 30.62px
xl: ['3rem', '3.828rem'], // 48px 61.25px
h1: ['3.6rem', '4rem'], //64px 81.68px
h2: ['2.5rem', '3rem'], // 40px 48px
'h2-md': ['3.5rem', '4rem'], // 56px 64px
h3: ['2.25rem', '2.875rem'], // 36px 46px
'h3-md': ['3rem', '3.812rem'], // 48px 61px
},
weight: {
normal: 400,
medium: 500,
bold: 700,
},
colors: {
gray: {
100: '#DCE2F2',
200: '#6075AA',
300: '#7A8297',
},
'error-red': '#FC0E47',
'progress-bar': progressBarPallet,
},
},
},
}