diff --git a/defaultConfig.stub.js b/defaultConfig.stub.js index 532375bb6..416a95296 100644 --- a/defaultConfig.stub.js +++ b/defaultConfig.stub.js @@ -375,7 +375,7 @@ module.exports = { | */ - backgroundSize: { + backgroundSizes: { 'auto': 'auto', 'cover': 'cover', 'contain': 'contain', @@ -838,7 +838,7 @@ module.exports = { backgroundColors: ['responsive', 'hover'], backgroundPosition: ['responsive'], backgroundRepeat: ['responsive'], - backgroundSize: ['responsive'], + backgroundSizes: ['responsive'], borderColors: ['responsive', 'hover'], borderRadius: ['responsive'], borderStyle: ['responsive'], diff --git a/docs/source/docs/background-size.blade.md b/docs/source/docs/background-size.blade.md index 500141873..51a6a6e5f 100644 --- a/docs/source/docs/background-size.blade.md +++ b/docs/source/docs/background-size.blade.md @@ -36,7 +36,7 @@ features: @include('_partials.variants-and-disabling', [ 'utility' => [ 'name' => 'background size', - 'property' => 'backgroundSize', + 'property' => 'backgroundSizes', ], 'variants' => [ 'responsive', diff --git a/src/generators/backgroundSize.js b/src/generators/backgroundSizes.js similarity index 100% rename from src/generators/backgroundSize.js rename to src/generators/backgroundSizes.js diff --git a/src/utilityModules.js b/src/utilityModules.js index d22b9a6c4..a90d87ef6 100644 --- a/src/utilityModules.js +++ b/src/utilityModules.js @@ -4,7 +4,7 @@ import backgroundAttachment from './generators/backgroundAttachment' import backgroundColors from './generators/backgroundColors' import backgroundPosition from './generators/backgroundPosition' import backgroundRepeat from './generators/backgroundRepeat' -import backgroundSize from './generators/backgroundSize' +import backgroundSizes from './generators/backgroundSizes' import borderColors from './generators/borderColors' import borderRadius from './generators/borderRadius' import borderStyle from './generators/borderStyle' @@ -51,7 +51,7 @@ export default [ { name: 'backgroundColors', generator: backgroundColors }, { name: 'backgroundPosition', generator: backgroundPosition }, { name: 'backgroundRepeat', generator: backgroundRepeat }, - { name: 'backgroundSize', generator: backgroundSize }, + { name: 'backgroundSizes', generator: backgroundSizes }, { name: 'borderColors', generator: borderColors }, { name: 'borderRadius', generator: borderRadius }, { name: 'borderStyle', generator: borderStyle },