-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.js
57 lines (49 loc) · 2.01 KB
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
module.exports = function(variants) {
return function({ addUtilities }) {
addUtilities({
// General
// '.cursor-auto': { cursor: 'auto' },
// '.cursor-default': { cursor: 'default' },
'.cursor-none': { cursor: 'none' },
// Links & status
'.cursor-context-menu': { cursor: 'context-menu' },
'.cursor-help': { cursor: 'help' },
// '.cursor-pointer': { cursor: 'pointer' },
'.cursor-progress': { cursor: 'progress' },
// '.cursor-wait': { cursor: 'wait' },
// Selection
'.cursor-cell': { cursor: 'cell' },
'.cursor-crosshair': { cursor: 'crosshair' },
'.cursor-text': { cursor: 'text' },
'.cursor-vertical-text': { cursor: 'vertical-text' },
// Drag & drop
'.cursor-alias': { cursor: 'alias' },
'.cursor-copy': { cursor: 'copy' },
// '.cursor-move': { cursor: 'move' },
'.cursor-no-drop': { cursor: 'no-drop' },
// '.cursor-not-allowed': { cursor: 'not-allowed' },
// Resize & scrolling
'.cursor-all-scroll': { cursor: 'all-scroll' },
'.cursor-col-resize': { cursor: 'col-resize' },
'.cursor-row-resize': { cursor: 'row-resize' },
'.cursor-n-resize': { cursor: 'n-resize' },
'.cursor-e-resize': { cursor: 'e-resize' },
'.cursor-s-resize': { cursor: 's-resize' },
'.cursor-w-resize': { cursor: 'w-resize' },
'.cursor-ne-resize': { cursor: 'ne-resize' },
'.cursor-nw-resize': { cursor: 'nw-resize' },
'.cursor-se-resize': { cursor: 'se-resize' },
'.cursor-sw-resize': { cursor: 'sw-resize' },
'.cursor-ew-resize': { cursor: 'ew-resize' },
'.cursor-ns-resize': { cursor: 'ns-resize' },
'.cursor-nesw-resize': { cursor: 'nesw-resize' },
'.cursor-nwse-resize': { cursor: 'nwse-resize' },
// Zoom
'.cursor-zoom-in': { cursor: 'zoom-in' },
'.cursor-zoom-out': { cursor: 'zoom-out' },
// Grab
'.cursor-grab': { cursor: 'grab' },
'.cursor-grabbing': { cursor: 'grabbing' },
}, variants)
}
}