-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
59 lines (58 loc) · 1.39 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
module.exports = {
purge: ['./src/components/**/*.{js,ts,jsx,tsx}', './pages/**/*.{js,ts,jsx,tsx}'],
darkMode: 'class', // 'media' or 'class'
theme: {
extend: {
spacing: {
'15': '3.75rem',
'18': '4.5rem',
'27': '6.75rem',
'92': '23rem',
'112': '28rem',
'172': '34rem',
},
maxHeight: {
'240': '60rem'
},
fontSize: {
'text-3xl': '1.75rem',
'text-4xl': '2rem',
'text-5xl': '3.5rem',
'text-6xl': '4rem',
},
fontFamily: {
'sans': ['Roboto', 'sans-serif'],
'josephin': ['Josefin Sans', 'sans-serif'],
},
colors: {
'powder-blue': "var(--powder-blue)",
'powder-blue-dark': "var(--powder-blue-dark)",
'cutty-sark': "var(--cutty-sark)",
'dove-gray': "var(--dove-gray)",
'alabaster': "var(--alabaster)",
'silver': "var(--silver)",
'alto': "var(--alto)",
'white-70': "var(--white-70)",
},
letterSpacing: {
wide: '4.2px',
wider: '6.7px',
widest: '9.6px'
},
opacity: {
'3': '0.3',
}
},
},
variants: {
extend: {},
},
plugins: [],
}
// 14px = 0.875rem = text-sm
// 20px = 1.25rem = text-xl
// 24px = 1.5rem = text-2xl
// 28px = 1.75rem = text-3xl
// 32px = 2rem = text-4xl
// 56px = 3.5rem = text-5xl
// 64px = 4rem = text-6xl