File tree Expand file tree Collapse file tree 5 files changed +16
-16
lines changed
Expand file tree Collapse file tree 5 files changed +16
-16
lines changed Original file line number Diff line number Diff line change 1+ import borderCollapse from './plugins/borderCollapse'
12import borderColors from './plugins/borderColors'
23import borderRadius from './plugins/borderRadius'
34import borderStyle from './plugins/borderStyle'
@@ -43,6 +44,7 @@ import zIndex from './plugins/zIndex'
4344
4445export default function ( config ) {
4546 return [
47+ config . modules . borderCollapse === false ? ( ) => { } : borderCollapse ( ) ,
4648 config . modules . borderColors === false ? ( ) => { } : borderColors ( ) ,
4749 config . modules . borderRadius === false ? ( ) => { } : borderRadius ( ) ,
4850 config . modules . borderStyle === false ? ( ) => { } : borderStyle ( ) ,
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ export default function ( ) {
2+ return function ( { addUtilities, config } ) {
3+ addUtilities ( {
4+ '.border-collapse' : { 'border-collapse' : 'collapse' } ,
5+ '.border-separate' : { 'border-collapse' : 'separate' } ,
6+ } , config ( 'modules.borderCollapse' ) )
7+ }
8+ }
Original file line number Diff line number Diff line change 11export default function ( ) {
22 return function ( { addUtilities, config } ) {
33 addUtilities ( {
4- '.cursor-auto' : { cursor : 'auto' } ,
5- '.cursor-default' : { cursor : 'default' } ,
6- '.cursor-pointer' : { cursor : 'pointer' } ,
7- '.cursor-wait' : { cursor : 'wait' } ,
8- '.cursor-move' : { cursor : 'move' } ,
9- '.cursor-not-allowed' : { cursor : 'not-allowed' } ,
4+ '.cursor-auto' : { cursor : 'auto' } ,
5+ '.cursor-default' : { cursor : 'default' } ,
6+ '.cursor-pointer' : { cursor : 'pointer' } ,
7+ '.cursor-wait' : { cursor : 'wait' } ,
8+ '.cursor-move' : { cursor : 'move' } ,
9+ '.cursor-not-allowed' : { cursor : 'not-allowed' } ,
1010 } , config ( 'modules.cursor' ) )
1111 }
1212}
Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ import backgroundColors from './generators/backgroundColors'
55import backgroundPosition from './generators/backgroundPosition'
66import backgroundRepeat from './generators/backgroundRepeat'
77import backgroundSize from './generators/backgroundSize'
8- import borderCollapse from './generators/borderCollapse'
98
109export default [
1110 { name : 'lists' , generator : lists } ,
@@ -15,5 +14,4 @@ export default [
1514 { name : 'backgroundPosition' , generator : backgroundPosition } ,
1615 { name : 'backgroundRepeat' , generator : backgroundRepeat } ,
1716 { name : 'backgroundSize' , generator : backgroundSize } ,
18- { name : 'borderCollapse' , generator : borderCollapse } ,
1917]
You can’t perform that action at this time.
0 commit comments