File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ import cursor from './plugins/cursor'
12import display from './plugins/display'
23import flexbox from './plugins/flexbox'
34import float from './plugins/float'
@@ -38,6 +39,7 @@ import zIndex from './plugins/zIndex'
3839
3940export default function ( config ) {
4041 return [
42+ config . modules . cursor === false ? ( ) => { } : cursor ( ) ,
4143 config . modules . display === false ? ( ) => { } : display ( ) ,
4244 config . modules . flexbox === false ? ( ) => { } : flexbox ( ) ,
4345 config . modules . float === false ? ( ) => { } : float ( ) ,
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+ '.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' } ,
10+ } , config ( 'modules.cursor' ) )
11+ }
12+ }
Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ import borderColors from './generators/borderColors'
1010import borderRadius from './generators/borderRadius'
1111import borderStyle from './generators/borderStyle'
1212import borderWidths from './generators/borderWidths'
13- import cursor from './generators/cursor'
1413
1514export default [
1615 { name : 'lists' , generator : lists } ,
@@ -25,5 +24,4 @@ export default [
2524 { name : 'borderRadius' , generator : borderRadius } ,
2625 { name : 'borderStyle' , generator : borderStyle } ,
2726 { name : 'borderWidths' , generator : borderWidths } ,
28- { name : 'cursor' , generator : cursor } ,
2927]
You can’t perform that action at this time.
0 commit comments