Rename textColors to textColor

This commit is contained in:
Adam Wathan 2019-02-15 15:31:06 -05:00
parent 76b208dc83
commit ec0b9ae68e
6 changed files with 5 additions and 5 deletions

View file

@ -46,7 +46,7 @@ module.exports = {
stroke: [],
tableLayout: ['responsive'],
textAlign: ['responsive'],
textColors: ['responsive', 'hover', 'focus'],
textColor: ['responsive', 'hover', 'focus'],
fontSize: ['responsive'],
textStyle: ['responsive', 'hover', 'focus'],
letterSpacing: ['responsive'],

View file

@ -153,7 +153,7 @@ module.exports = function() {
normal: '0',
wide: '0.05em',
},
textColors: theme => theme.colors,
textColor: theme => theme.colors,
backgroundColor: theme => theme.colors,
backgroundPosition: {
bottom: 'bottom',

1
plugins/textColor.js Normal file
View file

@ -0,0 +1 @@
module.exports = require('../lib/plugins/textColor').default

View file

@ -1 +0,0 @@
module.exports = require('../lib/plugins/textColors').default

View file

@ -39,7 +39,7 @@ import fill from './plugins/fill'
import stroke from './plugins/stroke'
import tableLayout from './plugins/tableLayout'
import textAlign from './plugins/textAlign'
import textColors from './plugins/textColors'
import textColor from './plugins/textColor'
import fontSize from './plugins/fontSize'
import textStyle from './plugins/textStyle'
import letterSpacing from './plugins/letterSpacing'
@ -110,7 +110,7 @@ export default function(config) {
stroke,
tableLayout,
textAlign,
textColors,
textColor,
fontSize,
textStyle,
letterSpacing,