Rename backgroundSize to backgroundSizes

This commit is contained in:
Nestor Vera 2018-01-22 21:19:09 +01:00
parent 829576693a
commit 3f9fc5a989
4 changed files with 5 additions and 5 deletions

View file

@ -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'],

View file

@ -36,7 +36,7 @@ features:
@include('_partials.variants-and-disabling', [
'utility' => [
'name' => 'background size',
'property' => 'backgroundSize',
'property' => 'backgroundSizes',
],
'variants' => [
'responsive',

View file

@ -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 },