-
-
Notifications
You must be signed in to change notification settings - Fork 12
/
tailwind.config.js
97 lines (94 loc) · 3.34 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
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',
}
},
},
},
plugins: [
require('@tailwindcss/typography')
],
};