File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed
Expand file tree Collapse file tree 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')
22const merge = require ( 'lodash/merge' )
33const castArray = require ( 'lodash/castArray' )
44const styles = require ( './styles' )
5- // const union = require('lodash/union')
6-
7- const computed = {
8- // bulletColor: (color) => ({ 'ul > li::before': { backgroundColor: color } }),
9- }
105
116function configToCss ( config ) {
127 return merge (
@@ -25,10 +20,7 @@ module.exports = plugin.withOptions(
2520 addComponents ( {
2621 [ `@variants ${ variants ( 'typography' ) . join ( ', ' ) } ` ] : [
2722 {
28- '.prose' : merge (
29- ...castArray ( styles . default . css ) ,
30- configToCss ( config . default || { } )
31- ) ,
23+ '.prose' : merge ( ...castArray ( styles . default . css ) , configToCss ( config . default || { } ) ) ,
3224 } ,
3325 ...modifiers . map ( ( modifier ) => ( {
3426 [ `.prose-${ modifier } ` ] : merge (
You can’t perform that action at this time.
0 commit comments