-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
tailwind.config.js
121 lines (117 loc) · 3.74 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
const defaultTheme = require('tailwindcss/defaultTheme');
module.exports = {
darkMode: 'class',
content: [
'./_pages/**/*.blade.php',
'./resources/views/**/*.blade.php',
'./vendor/hyde/framework/resources/views/**/*.blade.php',
],
theme: {
extend: {
typography: {
DEFAULT: {
css: {
lineHeight: '1.5em',
maxWidth: '96ch',
h2: {
marginBottom: '0.75em',
marginTop: '1.5em',
},
a: {
color: '#5956eb',
'&:hover': {
color: '#4f46e5',
},
textDecoration: 'none'
},
blockquote: {
backgroundColor: '#80808020',
borderLeftColor: '#d1d5db',
color: 'unset',
fontWeight: 500,
fontStyle: 'unset',
lineHeight: '1.25em',
paddingLeft: '0.75em',
paddingTop: '.25em',
paddingBottom: '.25em',
marginTop: '1em',
marginBottom: '1em',
p: {
paddingRight: '.25em',
marginTop: '.25em',
marginBottom: '.25em',
},
'p::before': {
content: 'unset',
},
'p::after': {
content: 'unset',
},
},
code: {
font: 'unset',
backgroundColor: '#80808033',
paddingLeft: '4px',
paddingRight: '4px',
marginLeft: '-2px',
marginRight: '1px',
borderRadius: '4px'
},
'code::before': {
content: 'unset',
},
'code::after': {
content: 'unset',
},
pre: {
code: {
fontFamily: "'Fira Code Regular', Consolas, Monospace, 'Courier New'",
}
}
},
},
invert: {
css: {
a: {
color: '#818cf8',
'&:hover': {
color: '#6366f1',
},
},
},
},
},
colors: {
indigo: {
500: '#5956eb',
}
},
},
},
safelist: [
'prose',
'dark:prose-invert',
'prose-img:inline',
'text-left',
'text-center',
'text-right',
'ml-auto',
'mx-auto',
'mr-auto',
'my-0',
'my-4',
'my-8',
'py-0',
'py-4',
'py-8',
'mx-0',
'mx-4',
'mx-8',
'px-0',
'px-4',
'px-8',
],
plugins: [
require('@tailwindcss/typography')
],
};