Skip to content

Commit 3f9fc5a

Browse files
committed
Rename backgroundSize to backgroundSizes
1 parent 8295766 commit 3f9fc5a

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

defaultConfig.stub.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ module.exports = {
375375
|
376376
*/
377377

378-
backgroundSize: {
378+
backgroundSizes: {
379379
'auto': 'auto',
380380
'cover': 'cover',
381381
'contain': 'contain',
@@ -838,7 +838,7 @@ module.exports = {
838838
backgroundColors: ['responsive', 'hover'],
839839
backgroundPosition: ['responsive'],
840840
backgroundRepeat: ['responsive'],
841-
backgroundSize: ['responsive'],
841+
backgroundSizes: ['responsive'],
842842
borderColors: ['responsive', 'hover'],
843843
borderRadius: ['responsive'],
844844
borderStyle: ['responsive'],

docs/source/docs/background-size.blade.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ features:
3636
@include('_partials.variants-and-disabling', [
3737
'utility' => [
3838
'name' => 'background size',
39-
'property' => 'backgroundSize',
39+
'property' => 'backgroundSizes',
4040
],
4141
'variants' => [
4242
'responsive',
File renamed without changes.

src/utilityModules.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import backgroundAttachment from './generators/backgroundAttachment'
44
import backgroundColors from './generators/backgroundColors'
55
import backgroundPosition from './generators/backgroundPosition'
66
import backgroundRepeat from './generators/backgroundRepeat'
7-
import backgroundSize from './generators/backgroundSize'
7+
import backgroundSizes from './generators/backgroundSizes'
88
import borderColors from './generators/borderColors'
99
import borderRadius from './generators/borderRadius'
1010
import borderStyle from './generators/borderStyle'
@@ -51,7 +51,7 @@ export default [
5151
{ name: 'backgroundColors', generator: backgroundColors },
5252
{ name: 'backgroundPosition', generator: backgroundPosition },
5353
{ name: 'backgroundRepeat', generator: backgroundRepeat },
54-
{ name: 'backgroundSize', generator: backgroundSize },
54+
{ name: 'backgroundSizes', generator: backgroundSizes },
5555
{ name: 'borderColors', generator: borderColors },
5656
{ name: 'borderRadius', generator: borderRadius },
5757
{ name: 'borderStyle', generator: borderStyle },

0 commit comments

Comments
 (0)