-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
124 lines (122 loc) · 1.94 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
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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
const colors = require('tailwindcss/colors');
const typography = require('@tailwindcss/typography');
const form = require('@tailwindcss/forms');
module.exports = {
purge: {
enabled: process.env.HUGO_ENVIRONMENT === 'production',
content: [
'./assets/**/*.js',
'./layouts/**/*.html',
'./content/**/*.{html,md}',
],
},
corePlugins: {
container: false,
},
theme: {
fontFamily: {
sans: ['Lexend Deca', 'sans-serif'],
mono: ['JetBrains Mono', 'monospace'],
},
colors: {
primary: colors.white,
secondary: colors.coolGray['900'],
accent: colors.blue['700'],
transparent: 'transparent',
gray: colors.coolGray,
success: colors.emerald['200'],
error: colors.red['200'],
},
screens: {},
fontSize: {
'xs': [
'0.75rem', {
lineHeight: 1.5,
},
],
'sm': [
'0.875rem', {
lineHeight: 1.5,
},
],
'base': [
'1rem', {
lineHeight: 1.5,
},
],
'lg': [
'1.125rem', {
lineHeight: 1.5,
},
],
'xl': [
'1.25rem', {
lineHeight: 1.375,
}
],
'2xl': [
'1.5rem', {
lineHeight: 1.375,
},
],
'3xl': [
'1.875rem', {
lineHeight: 1.375,
},
],
'4xl': [
'2.25rem', {
lineHeight: 1.375,
},
],
'5xl': [
'3rem', {
lineHeight: 1.375,
},
],
'6xl': [
'3.75rem', {
lineHeight: 1.25,
},
],
'7xl': [
'4.5rem', {
lineHeight: 1.25,
},
],
'8xl': [
'6rem', {
lineHeight: 1.25,
},
],
'9xl': [
'8rem', {
lineHeight: 1.25,
},
],
},
extend: {
spacing: {
4.5: '1.125rem',
9.5: '2.375rem',
13: '3.25rem',
15: '3.75rem',
17: '4.25rem',
18: '4.5rem',
19: '4.75rem',
21: '5.25rem',
22: '5.5rem',
25: '6.125rem',
26: '6.5rem',
29: '7.25rem',
30: '7.5rem',
34: '8.5rem',
42: '10.5rem',
},
borderWidth: {
'0.5': '0.5px',
}
}
},
plugins: [typography, form],
};