-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathtailwind.config.js
More file actions
72 lines (72 loc) · 1.97 KB
/
tailwind.config.js
File metadata and controls
72 lines (72 loc) · 1.97 KB
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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./layouts/**/*.html",
"./content/**/*.md",
"./safelist.txt"
],
theme: {
extend: {
screens: {
'3xl': '1920px',
},
// These are for @container queries specifically
containers: {
'nip': '10rem',
'short': '15rem',
'tall': '20rem',
'grande': '30rem',
'venti': '40rem',
'trenta': '50rem',
},
fontFamily: {
sans: ['"Open Sans"', 'sans-serif'],
mono: ['"Source Code Pro"', 'monospace'],
},
boxShadow: {
DEFAULT: '0px 0px 2px rgba(21, 21, 21, 0.14), 0px 2px 4px rgba(21, 21, 21, 0.16)',
md: '0px 1px 2px rgba(21, 21, 21, 0.1), 0px 3px 7px rgba(21, 21, 21, 0.1), 0px 12px 30px rgba(21, 21, 21, 0.08)',
lg: '0px 4px 10px rgba(21, 21, 21, 0.1), 0px 12px 30px rgba(21, 21, 21, 0.17)',
},
typography: {
DEFAULT: {
css: {
fontWeight: '400',
'h2': {
fontWeight: '600',
},
'a': {
fontWeight: '400',
},
},
},
quoteless: {
css: {
'blockquote p:first-of-type::before': { content: 'none' },
'blockquote p:first-of-type::after': { content: 'none' },
'code::before': { content: 'none' },
'code::after': { content: 'none' },
'> ul > li > input:first-child': {
marginTop: 0,
},
'> ul > li > input:last-child': {
marginBottom: 0,
},
'> ol > li > input:first-child': {
marginTop: 0,
},
'> ol > li > input:last-child': {
marginBottom: 0,
},
'.gist .highlight tbody tr': {
borderWidth: 0,
},
},
},
},
},
},
plugins: [
require('@tailwindcss/typography'),
],
}