Skip to content

Commit d942d16

Browse files
committed
use content: none; instead of content: '';
Closes: #41 Closes: #77
1 parent b36a208 commit d942d16

File tree

2 files changed

+21
-21
lines changed

2 files changed

+21
-21
lines changed

src/index.test.js

+18-18
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ it('should generate the default classes for the typography components', async ()
7474
}
7575
7676
.prose ul > li::before {
77-
content: \\"\\";
77+
content: none;
7878
position: absolute;
7979
background-color: #d1d5db;
8080
border-radius: 50%;
@@ -199,11 +199,11 @@ it('should generate the default classes for the typography components', async ()
199199
}
200200
201201
.prose pre code::before {
202-
content: \\"\\";
202+
content: none;
203203
}
204204
205205
.prose pre code::after {
206-
content: \\"\\";
206+
content: none;
207207
}
208208
209209
.prose table {
@@ -1358,7 +1358,7 @@ it('should generate the default classes for the typography components', async ()
13581358
}
13591359
13601360
.sm\\\\:prose ul > li::before {
1361-
content: \\"\\";
1361+
content: none;
13621362
position: absolute;
13631363
background-color: #d1d5db;
13641364
border-radius: 50%;
@@ -1483,11 +1483,11 @@ it('should generate the default classes for the typography components', async ()
14831483
}
14841484
14851485
.sm\\\\:prose pre code::before {
1486-
content: \\"\\";
1486+
content: none;
14871487
}
14881488
14891489
.sm\\\\:prose pre code::after {
1490-
content: \\"\\";
1490+
content: none;
14911491
}
14921492
14931493
.sm\\\\:prose table {
@@ -2643,7 +2643,7 @@ it('should generate the default classes for the typography components', async ()
26432643
}
26442644
26452645
.md\\\\:prose ul > li::before {
2646-
content: \\"\\";
2646+
content: none;
26472647
position: absolute;
26482648
background-color: #d1d5db;
26492649
border-radius: 50%;
@@ -2768,11 +2768,11 @@ it('should generate the default classes for the typography components', async ()
27682768
}
27692769
27702770
.md\\\\:prose pre code::before {
2771-
content: \\"\\";
2771+
content: none;
27722772
}
27732773
27742774
.md\\\\:prose pre code::after {
2775-
content: \\"\\";
2775+
content: none;
27762776
}
27772777
27782778
.md\\\\:prose table {
@@ -3928,7 +3928,7 @@ it('should generate the default classes for the typography components', async ()
39283928
}
39293929
39303930
.lg\\\\:prose ul > li::before {
3931-
content: \\"\\";
3931+
content: none;
39323932
position: absolute;
39333933
background-color: #d1d5db;
39343934
border-radius: 50%;
@@ -4053,11 +4053,11 @@ it('should generate the default classes for the typography components', async ()
40534053
}
40544054
40554055
.lg\\\\:prose pre code::before {
4056-
content: \\"\\";
4056+
content: none;
40574057
}
40584058
40594059
.lg\\\\:prose pre code::after {
4060-
content: \\"\\";
4060+
content: none;
40614061
}
40624062
40634063
.lg\\\\:prose table {
@@ -5213,7 +5213,7 @@ it('should generate the default classes for the typography components', async ()
52135213
}
52145214
52155215
.xl\\\\:prose ul > li::before {
5216-
content: \\"\\";
5216+
content: none;
52175217
position: absolute;
52185218
background-color: #d1d5db;
52195219
border-radius: 50%;
@@ -5338,11 +5338,11 @@ it('should generate the default classes for the typography components', async ()
53385338
}
53395339
53405340
.xl\\\\:prose pre code::before {
5341-
content: \\"\\";
5341+
content: none;
53425342
}
53435343
53445344
.xl\\\\:prose pre code::after {
5345-
content: \\"\\";
5345+
content: none;
53465346
}
53475347
53485348
.xl\\\\:prose table {
@@ -6498,7 +6498,7 @@ it('should generate the default classes for the typography components', async ()
64986498
}
64996499
65006500
.\\\\32xl\\\\:prose ul > li::before {
6501-
content: \\"\\";
6501+
content: none;
65026502
position: absolute;
65036503
background-color: #d1d5db;
65046504
border-radius: 50%;
@@ -6623,11 +6623,11 @@ it('should generate the default classes for the typography components', async ()
66236623
}
66246624
66256625
.\\\\32xl\\\\:prose pre code::before {
6626-
content: \\"\\";
6626+
content: none;
66276627
}
66286628
66296629
.\\\\32xl\\\\:prose pre code::after {
6630-
content: \\"\\";
6630+
content: none;
66316631
}
66326632
66336633
.\\\\32xl\\\\:prose table {

src/styles.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ module.exports = (theme) => ({
4040
position: 'relative',
4141
},
4242
'ul > li::before': {
43-
content: '""',
43+
content: 'none',
4444
position: 'absolute',
4545
backgroundColor: theme('colors.gray.300', defaultTheme.colors.gray[300]),
4646
borderRadius: '50%',
@@ -112,10 +112,10 @@ module.exports = (theme) => ({
112112
lineHeight: 'inherit',
113113
},
114114
'pre code::before': {
115-
content: '""',
115+
content: 'none',
116116
},
117117
'pre code::after': {
118-
content: '""',
118+
content: 'none',
119119
},
120120
table: {
121121
width: '100%',

0 commit comments

Comments
 (0)