-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.js
91 lines (90 loc) · 2.32 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
module.exports = {
theme: {
container: {
center: true,
padding: "2rem",
},
extend: {
fontFamily: {
sans: ['Palanquin', 'sans-serif'],
serif: ['Georgia', 'serif'],
title: ['Alfa Slab One', 'serif'],
},
typography: {
DEFAULT: {
css: {
"code::before": false,
"code::after": false,
"blockquote p:first-of-type::before": false,
"blockquote p:last-of-type::after": false,
color: '#374151',
strong: {
color: '#7C3AED',
fontWeight: '900',
fontFamily: 'Palanquin',
},
i: {
fontWeight: '400',
color: '#EF4444',
fontFamily: 'Georgia',
fontStyle: 'italic',
},
em: {
fontWeight: '400',
fontFamily: 'Georgia',
fontStyle: 'italic',
},
hr: {
borderColor: '#F59E0B',
color: '#F59E0B',
borderWidth: '2px',
},
kbd: {
backgroundColor: '#8fccf7',
fontWeight: '700',
borderColor: '#2A4365',
borderRadius: '5px',
borderWidth: '1px',
padding:'2px 1px',
},
code: {
backgroundColor: '#E5E7EB',
borderRadius: '5px',
padding:'3px 6px',
borderColor: '#000',
borderRadius: '5px',
borderWidth: '1px',
},
pre: {
boxShadow: '0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)',
code: {
backgroundColor: 'transparent',
borderRadius: '5px',
padding:'none',
whiteSpace: 'pre-wrap',
},
},
iframe: {
borderRadius: '5px',
display: 'block',
width: '100%',
maxWidth: '100%',
height: 'auto',
},
img: {
display: 'block',
width: '100%',
maxWidth: '100%',
height: 'auto',
},
},
},
},
},
},
variants: {
extend: {},
},
plugins: [require("daisyui"), require("@tailwindcss/typography"),],
content: ["./src/**/*.js", "./src/**/*.njk", "./src/**/*.svg", "./src/**/*.md"],
};