File tree 1 file changed +1
-9
lines changed
1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -2,11 +2,6 @@ const plugin = require('tailwindcss/plugin')
2
2
const merge = require ( 'lodash/merge' )
3
3
const castArray = require ( 'lodash/castArray' )
4
4
const styles = require ( './styles' )
5
- // const union = require('lodash/union')
6
-
7
- const computed = {
8
- // bulletColor: (color) => ({ 'ul > li::before': { backgroundColor: color } }),
9
- }
10
5
11
6
function configToCss ( config ) {
12
7
return merge (
@@ -25,10 +20,7 @@ module.exports = plugin.withOptions(
25
20
addComponents ( {
26
21
[ `@variants ${ variants ( 'typography' ) . join ( ', ' ) } ` ] : [
27
22
{
28
- '.prose' : merge (
29
- ...castArray ( styles . default . css ) ,
30
- configToCss ( config . default || { } )
31
- ) ,
23
+ '.prose' : merge ( ...castArray ( styles . default . css ) , configToCss ( config . default || { } ) ) ,
32
24
} ,
33
25
...modifiers . map ( ( modifier ) => ( {
34
26
[ `.prose-${ modifier } ` ] : merge (
You can’t perform that action at this time.
0 commit comments