-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.cjs
63 lines (55 loc) · 1.48 KB
/
tailwind.config.cjs
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
const defaultTheme = require('tailwindcss/defaultTheme')
module.exports = {
content: [
'./resources/**/*.hbs',
'./resources/**/*.vue',
'./app/modules/markdown/docs-renderer.ts',
],
theme: {
extend: {
fontSize: {
sm: '.825rem',
md: '.875rem'
},
fontFamily: {
sans: ['ATC Overlook', 'BRHendrix', ...defaultTheme.fontFamily.sans],
brhendrix: ['BRHendrix', ...defaultTheme.fontFamily.sans],
mono: ['Cascadida Code', ...defaultTheme.fontFamily.mono],
},
typography (theme) {
return {
DEFAULT: {
css: {
color: theme('colors.slate.700'),
h1: {
color: theme('colors.gray.900'),
},
h2: {
color: theme('colors.gray.900'),
'margin-bottom': theme('margin.3'),
'margin-top': theme('margin.20')
},
h3: {
color: theme('colors.gray.900'),
'margin-bottom': theme('margin.2'),
'margin-top': theme('margin.16')
},
h4: {
color: theme('colors.gray.900'),
'margin-top': theme('margin.12')
},
pre: {
},
},
}
}
},
}
},
variants: {},
plugins: [
require('@tailwindcss/forms'),
require('@tailwindcss/typography'),
require('tailwindcss-textshadow'),
]
}