-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtailwind.config.js
70 lines (69 loc) · 1.67 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
const colors = require('tailwindcss/colors')
const defaultTheme = require('tailwindcss/defaultTheme')
/** @type {import('tailwindcss').Config} */
module.exports = {
future: {
hoverOnlyWhenSupported: true,
},
content: [
'./_includes/**/*.html',
'./_layouts/*.html',
'./assets/*.{css,js}',
'./collections/**/*.{html,md}',
'./*.{html,md}',
],
theme: {
screens: {
xs: '390px',
...defaultTheme.screens
},
extend: {
screens: {
'hover-none': {
raw: '(hover: none)',
},
},
typography: {
// see https://github.com/tailwindlabs/tailwindcss-typography/blob/master/src/styles.js
DEFAULT: {
css: {
a: {
'&:hover': {
textDecoration: 'none',
},
},
blockquote: {
fontWeight: '',
fontStyle: '',
color: colors.zinc[500],
},
'blockquote p:first-of-type::before': {
content: '',
},
'blockquote p:last-of-type::after': {
content: '',
},
code: {
fontWeight: '',
fontSize: '0.825em',
background: colors.zinc[100],
color: colors.zinc[700],
padding: '.125rem .25rem',
borderRadius: '.25rem',
border: '1px solid #eaeaea',
},
'code::before': {
content: '',
},
'code::after': {
content: '',
},
},
},
},
},
},
plugins: [
require('@tailwindcss/typography'),
],
}