-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
tailwind.config.js
93 lines (93 loc) · 2.21 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
module.exports = {
content: [
'./layouts/**/*.html.twig',
'./themes/**/layouts/**/*.html.twig',
],
safelist: [
'anchorjs-link',
'dark:brightness-90'
],
darkMode: 'class',
theme: {
extend: {
colors: {
blue: '#163C56',
gold: '#F2D07F',
darkblue: '#092F44',
bluegray: '#7B99A9',
dark: '#111827',
darkgray: '#374151',
},
fontFamily: {
sans: ['Montserrat', 'sans-serif'],
},
boxShadow: {
'3xl': '0 35px 60px -15px rgba(0, 0, 0, 0.3)',
},
typography: (theme) => ({
DEFAULT: {
css: {
fontSize: '.875rem',
color: theme('colors.darkblue'),
'h2 a': {
fontWeight: 700,
textDecoration: 'none',
},
'.readmore': {
textDecoration: 'none',
},
'h1, h2, h3, h4': {
color: theme('colors.darkblue'),
},
'a, a:hover': {
color: theme('colors.blue'),
},
'a.anchorjs-link, a.anchorjs-link:hover': {
textDecoration: 'none',
},
'.anchorjs-link': {
color: theme('colors.gray.300'),
},
h1: {
fontWeight: '700',
paddingBottom: '.3em',
borderBottom: '1px solid ' + theme('colors.gray.200'),
marginBottom: 0,
},
img: {
margin: 'auto',
},
},
},
dark: {
css: {
color: theme('colors.gray.300'),
'h1, h2, h3, h4, code, blockquote, strong': {
color: theme('colors.gray.300'),
},
'a, a:hover, a code': {
color: theme('colors.gray.300'),
},
'thead th': {
color: theme('colors.gray.300'),
},
},
},
}),
},
container: {
screens: {
sm: '100%',
md: '100%',
lg: '1280px',
xl: '1280px',
}
}
},
plugins: [
require('@tailwindcss/forms'),
require('@tailwindcss/typography')({
className: 'markdown',
}),
],
}