Port cursor module to plugin

This commit is contained in:
Adam Wathan 2019-01-09 21:27:15 -05:00
parent a493ee420d
commit e16c6e669a
4 changed files with 14 additions and 14 deletions

12
src/plugins/cursor.js Normal file
View file

@ -0,0 +1,12 @@
export default function () {
return function ({ addUtilities, config }) {
addUtilities({
'.cursor-auto': { cursor: 'auto' },
'.cursor-default': { cursor: 'default' },
'.cursor-pointer': { cursor: 'pointer' },
'.cursor-wait': { cursor: 'wait' },
'.cursor-move': { cursor: 'move' },
'.cursor-not-allowed': { cursor: 'not-allowed' },
}, config('modules.cursor'))
}
}