diff --git a/defaultConfig.stub.js b/defaultConfig.stub.js index 66f1da688..30e0bd670 100644 --- a/defaultConfig.stub.js +++ b/defaultConfig.stub.js @@ -8,7 +8,7 @@ module.exports = { variants: { appearance: ['responsive'], backgroundAttachment: ['responsive'], - backgroundColors: ['responsive', 'hover', 'focus'], + backgroundColor: ['responsive', 'hover', 'focus'], backgroundPosition: ['responsive'], backgroundRepeat: ['responsive'], backgroundSize: ['responsive'], diff --git a/defaultTheme.js b/defaultTheme.js index de29a6a15..27b40c215 100644 --- a/defaultTheme.js +++ b/defaultTheme.js @@ -154,7 +154,7 @@ module.exports = function() { wide: '0.05em', }, textColors: theme => theme.colors, - backgroundColors: theme => theme.colors, + backgroundColor: theme => theme.colors, backgroundPosition: { bottom: 'bottom', center: 'center', diff --git a/plugins/backgroundColor.js b/plugins/backgroundColor.js new file mode 100644 index 000000000..c3ad7c700 --- /dev/null +++ b/plugins/backgroundColor.js @@ -0,0 +1 @@ +module.exports = require('../lib/plugins/backgroundColor').default diff --git a/plugins/backgroundColors.js b/plugins/backgroundColors.js deleted file mode 100644 index c3928bee8..000000000 --- a/plugins/backgroundColors.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('../lib/plugins/backgroundColors').default diff --git a/src/corePlugins.js b/src/corePlugins.js index 40ea0458c..7637e6573 100644 --- a/src/corePlugins.js +++ b/src/corePlugins.js @@ -2,7 +2,7 @@ import preflight from './plugins/preflight' import lists from './plugins/lists' import appearance from './plugins/appearance' import backgroundAttachment from './plugins/backgroundAttachment' -import backgroundColors from './plugins/backgroundColors' +import backgroundColor from './plugins/backgroundColor' import backgroundPosition from './plugins/backgroundPosition' import backgroundRepeat from './plugins/backgroundRepeat' import backgroundSize from './plugins/backgroundSize' @@ -73,7 +73,7 @@ export default function(config) { lists, appearance, backgroundAttachment, - backgroundColors, + backgroundColor, backgroundPosition, backgroundRepeat, backgroundSize, diff --git a/src/plugins/backgroundColors.js b/src/plugins/backgroundColor.js similarity index 100% rename from src/plugins/backgroundColors.js rename to src/plugins/backgroundColor.js