diff --git a/defaultConfig.stub.js b/defaultConfig.stub.js index b67879ce9..171621924 100644 --- a/defaultConfig.stub.js +++ b/defaultConfig.stub.js @@ -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'], diff --git a/defaultTheme.js b/defaultTheme.js index 26e32dff4..a0571d2f8 100644 --- a/defaultTheme.js +++ b/defaultTheme.js @@ -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', diff --git a/plugins/textColor.js b/plugins/textColor.js new file mode 100644 index 000000000..de8d95813 --- /dev/null +++ b/plugins/textColor.js @@ -0,0 +1 @@ +module.exports = require('../lib/plugins/textColor').default diff --git a/plugins/textColors.js b/plugins/textColors.js deleted file mode 100644 index 83a71ac99..000000000 --- a/plugins/textColors.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('../lib/plugins/textColors').default diff --git a/src/corePlugins.js b/src/corePlugins.js index a90e8239a..221e506a4 100644 --- a/src/corePlugins.js +++ b/src/corePlugins.js @@ -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, diff --git a/src/plugins/textColors.js b/src/plugins/textColor.js similarity index 100% rename from src/plugins/textColors.js rename to src/plugins/textColor.js