Skip to content

Commit b920411

Browse files
committed
style: apply to default prose class
1 parent 6756c9b commit b920411

1 file changed

Lines changed: 10 additions & 11 deletions

File tree

tailwind.config.js

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ module.exports = {
77
theme: {
88
extend: {
99
typography: (theme) => ({
10-
default: {
10+
DEFAULT: {
1111
css: {
1212
color: theme('colors.gray.900'),
1313
a: {
@@ -16,6 +16,15 @@ module.exports = {
1616
color: theme('colors.blue.500'),
1717
},
1818
},
19+
20+
// wtf tailwind!
21+
22+
'code::before': {
23+
content: '""',
24+
},
25+
'code::after': {
26+
content: '""',
27+
},
1928
},
2029
},
2130
dark: {
@@ -55,16 +64,6 @@ module.exports = {
5564
color: theme('colors.gray.300'),
5665
},
5766

58-
// wtf tailwind!
59-
60-
'code::before': {
61-
content: '""',
62-
},
63-
64-
'code::after': {
65-
content: '""',
66-
},
67-
6867
figcaption: {
6968
color: theme('colors.gray.500'),
7069
},

0 commit comments

Comments
 (0)