forked from stimulus-components/stimulus-components
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
35 lines (35 loc) · 979 Bytes
/
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
module.exports = {
theme: {
extend: {
typography: (theme) => ({
DEFAULT: {
css: {
a: {
color: theme('colors.orange.500'),
'&:hover': {
color: theme('colors.orange.700'),
},
},
code: {
color: theme('colors.gray.500'),
backgroundColor: theme('colors.gray.100'),
fontWeight: theme('fontWeight.normal'),
borderRadius: theme('borderRadius.md'),
paddingLeft: theme('spacing.1'),
paddingRight: theme('spacing.1'),
paddingTop: theme('spacing[0.5]'),
paddingBottom: theme('spacing[0.5]'),
},
'code::before': {
content: 'none',
},
'code::after': {
content: 'none',
},
},
},
}),
},
},
plugins: [require('@tailwindcss/typography')],
}