tailwindcss/src/plugins/cursor.js
2019-01-14 15:43:12 -05:00

13 lines
412 B
JavaScript

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'))
}
}