Add appearance utilities.
This commit is contained in:
parent
6b204cf0dd
commit
fabdee5481
2 changed files with 9 additions and 0 deletions
7
src/generators/appearance.js
Normal file
7
src/generators/appearance.js
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
import defineClasses from '../util/defineClasses'
|
||||
|
||||
export default function() {
|
||||
return defineClasses({
|
||||
'appearance-none': { 'appearance': 'none' },
|
||||
})
|
||||
}
|
||||
|
|
@ -1,4 +1,5 @@
|
|||
import _ from 'lodash'
|
||||
import appearance from '../generators/appearance'
|
||||
import backgroundColors from '../generators/backgroundColors'
|
||||
import backgroundSize from '../generators/backgroundSize'
|
||||
import borderColors from '../generators/borderColors'
|
||||
|
|
@ -36,6 +37,7 @@ export default function(options) {
|
|||
css.walkAtRules('tailwind-utilities', atRule => {
|
||||
if (atRule.params === 'all') {
|
||||
const utilities = _.flatten([
|
||||
appearance(options),
|
||||
textSizes(options),
|
||||
textWeights(options),
|
||||
textFonts(options),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue