Skip to content

Commit 401ee62

Browse files
authored
Merge pull request #165 from tailwindcss/cursor-default
Add cursor-default utility
2 parents 6bc3b0a + 8eda042 commit 401ee62

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

__tests__/fixtures/tailwind-output.css

+20
Original file line numberDiff line numberDiff line change
@@ -3533,6 +3533,10 @@ button,
35333533
cursor: auto;
35343534
}
35353535

3536+
.cursor-default {
3537+
cursor: default;
3538+
}
3539+
35363540
.cursor-pointer {
35373541
cursor: pointer;
35383542
}
@@ -6493,6 +6497,10 @@ button,
64936497
cursor: auto;
64946498
}
64956499

6500+
.sm\:cursor-default {
6501+
cursor: default;
6502+
}
6503+
64966504
.sm\:cursor-pointer {
64976505
cursor: pointer;
64986506
}
@@ -9454,6 +9462,10 @@ button,
94549462
cursor: auto;
94559463
}
94569464

9465+
.md\:cursor-default {
9466+
cursor: default;
9467+
}
9468+
94579469
.md\:cursor-pointer {
94589470
cursor: pointer;
94599471
}
@@ -12415,6 +12427,10 @@ button,
1241512427
cursor: auto;
1241612428
}
1241712429

12430+
.lg\:cursor-default {
12431+
cursor: default;
12432+
}
12433+
1241812434
.lg\:cursor-pointer {
1241912435
cursor: pointer;
1242012436
}
@@ -15376,6 +15392,10 @@ button,
1537615392
cursor: auto;
1537715393
}
1537815394

15395+
.xl\:cursor-default {
15396+
cursor: default;
15397+
}
15398+
1537915399
.xl\:cursor-pointer {
1538015400
cursor: pointer;
1538115401
}

src/generators/cursor.js

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import defineClasses from '../util/defineClasses'
33
export default function() {
44
return defineClasses({
55
'cursor-auto': { cursor: 'auto' },
6+
'cursor-default': { cursor: 'default' },
67
'cursor-pointer': { cursor: 'pointer' },
78
'cursor-not-allowed': { cursor: 'not-allowed' },
89
})

0 commit comments

Comments
 (0)