-
Notifications
You must be signed in to change notification settings - Fork 42
/
tailwind.config.cjs
72 lines (70 loc) · 1.86 KB
/
tailwind.config.cjs
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
/* eslint-env node */
/*
* Tailwind CSS configuration for hello world project.
* Created On 26 August 2021
*/
const colors = require('tailwindcss/colors')
const typography = require('@tailwindcss/typography')
module.exports = {
plugins: [typography],
purge: {
content: ['**/*.html', '**/*.svg'],
options: {
safelist: ['leading-extra-loose'],
},
},
darkMode: 'class',
variants: {
extend: {
display: ['dark'],
},
},
theme: {
extend: {
colors: {
gray: colors.blueGray,
white: '#FFF',
black: '#000',
'hero-light': '#22272E',
},
height: {
106: '32rem',
},
lineHeight: {
'extra-loose': '2.5rem',
},
typography: {
DEFAULT: {
css: {
h1: {
fontFamily: 'Poppins',
},
h2: {
fontFamily: 'Poppins',
},
h3: {
fontFamily: 'Poppins',
},
h4: {
fontFamily: 'Poppins',
},
h5: {
fontFamily: 'Poppins',
},
h6: {
fontFamily: 'Poppins',
},
},
},
},
},
container: {
center: true,
},
fontFamily: {
body: ['Urbanist', 'sans-serif'],
display: ['Poppins', 'sans-serif'],
code: ['Recursive', 'monospace'],
},
},
}