Skip to content

Commit 5c7b231

Browse files
committed
Remove dead code
1 parent 92b4fe1 commit 5c7b231

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

src/index.js

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,6 @@ const plugin = require('tailwindcss/plugin')
22
const merge = require('lodash/merge')
33
const castArray = require('lodash/castArray')
44
const styles = require('./styles')
5-
// const union = require('lodash/union')
6-
7-
const computed = {
8-
// bulletColor: (color) => ({ 'ul > li::before': { backgroundColor: color } }),
9-
}
105

116
function 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(

0 commit comments

Comments
 (0)