Port cursor module to plugin
This commit is contained in:
parent
a493ee420d
commit
e16c6e669a
4 changed files with 14 additions and 14 deletions
12
src/plugins/cursor.js
Normal file
12
src/plugins/cursor.js
Normal 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'))
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue