forked from lawrencecchen/threaded-comments
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
69 lines (68 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
60
61
62
63
64
65
66
67
68
69
const colors = require('tailwindcss/colors');
const { fontFamily } = require('tailwindcss/defaultTheme');
module.exports = {
purge: [
'./pages/**/*.{js,ts,jsx,tsx}',
'./lib/**/*.{js,ts,jsx,tsx}',
],
important: true,
darkMode: 'class', // or 'media' or 'class'
theme: {
extend: {
colors: {
gray: colors.coolGray,
inherit: 'inherit'
},
transitionProperty: {
backgroundColor: 'backgroundColor',
},
height: {
'screen-35': '35vh',
},
minHeight: {
14: '3.5rem',
36: '9rem',
},
minWidth: {
sm: '24rem',
sidebar: '28rem',
'1/5': '20%',
},
maxWidth: {
'60-ch': '60ch',
'1/4': '25%',
},
translate: {
'screen-1/4': '25%',
},
transitionDuration: {
325: '325ms',
},
fontFamily: {
sans: ['Inter', ...fontFamily.sans],
'serif-display': ['Playfair Display', ...fontFamily.serif],
},
fontSize: {
xxs: '.625rem',
},
spacing: {
'2px': '2px',
},
strokeWidth: {
'1.5': '1.5',
'2.5': '2.5',
},
zIndex: {
'-1': -1,
},
lineClamp: {
10: 10,
},
},
},
plugins: [
require('@tailwindcss/forms'),
require('@tailwindcss/line-clamp'),
require('@tailwindcss/typography'),
],
};