Rename borderColors to borderColor

This commit is contained in:
Adam Wathan 2019-02-14 15:23:22 -05:00
parent 376daf3345
commit df8fe5afa6
7 changed files with 6 additions and 6 deletions

View File

@ -13,7 +13,7 @@ module.exports = {
backgroundRepeat: ['responsive'],
backgroundSize: ['responsive'],
borderCollapse: [],
borderColors: ['responsive', 'hover', 'focus'],
borderColor: ['responsive', 'hover', 'focus'],
borderRadius: ['responsive'],
borderStyle: ['responsive'],
borderWidths: ['responsive'],

View File

@ -178,7 +178,7 @@ module.exports = function() {
'4': '4px',
'8': '8px',
},
borderColors: theme => {
borderColor: theme => {
return global.Object.assign({ default: theme.colors['grey-light'] }, theme.colors)
},
borderRadius: {

1
plugins/borderColor.js Normal file
View File

@ -0,0 +1 @@
module.exports = require('../lib/plugins/borderColor').default

View File

@ -1 +0,0 @@
module.exports = require('../lib/plugins/borderColors').default

View File

@ -7,7 +7,7 @@ import backgroundPosition from './plugins/backgroundPosition'
import backgroundRepeat from './plugins/backgroundRepeat'
import backgroundSize from './plugins/backgroundSize'
import borderCollapse from './plugins/borderCollapse'
import borderColors from './plugins/borderColors'
import borderColor from './plugins/borderColor'
import borderRadius from './plugins/borderRadius'
import borderStyle from './plugins/borderStyle'
import borderWidths from './plugins/borderWidths'
@ -78,7 +78,7 @@ export default function(config) {
backgroundRepeat,
backgroundSize,
borderCollapse,
borderColors,
borderColor,
borderRadius,
borderStyle,
borderWidths,

View File

@ -89,7 +89,7 @@ ul {
*::after {
border-width: 0;
border-style: solid;
border-color: config('theme.borderColors.default', currentColor);
border-color: config('theme.borderColor.default', currentColor);
}
/**