mirror of
https://github.com/tailwindlabs/tailwindcss.git
synced 2025-12-08 21:36:08 +00:00
Rename borderColors to borderColor
This commit is contained in:
parent
376daf3345
commit
df8fe5afa6
@ -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'],
|
||||
|
||||
@ -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
1
plugins/borderColor.js
Normal file
@ -0,0 +1 @@
|
||||
module.exports = require('../lib/plugins/borderColor').default
|
||||
@ -1 +0,0 @@
|
||||
module.exports = require('../lib/plugins/borderColors').default
|
||||
@ -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,
|
||||
|
||||
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user