Skip to content

Commit d1828c9

Browse files
committed
Rename generators to match planned module names
1 parent 9c72969 commit d1828c9

24 files changed

+9848
-9800
lines changed

__tests__/fixtures/tailwind-output.css

Lines changed: 9612 additions & 9612 deletions
Large diffs are not rendered by default.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

src/generators/height.js

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import _ from 'lodash'
2+
import defineClass from '../util/defineClass'
3+
4+
function defineHeights(heights) {
5+
return _.map(heights, (size, modifer) => {
6+
return defineClass(`h-${modifer}`, {
7+
height: `${size}`,
8+
})
9+
})
10+
}
11+
12+
export default function(config) {
13+
return _.flatten([defineHeights(config.height)])
14+
}

0 commit comments

Comments
 (0)