Skip to content

Commit

Permalink
Merge pull request tailwindlabs#165 from tailwindcss/cursor-default
Browse files Browse the repository at this point in the history
Add cursor-default utility
  • Loading branch information
adamwathan authored Nov 9, 2017
2 parents 6bc3b0a + 8eda042 commit 401ee62
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
20 changes: 20 additions & 0 deletions __tests__/fixtures/tailwind-output.css
Original file line number Diff line number Diff line change
Expand Up @@ -3533,6 +3533,10 @@ button,
cursor: auto;
}

.cursor-default {
cursor: default;
}

.cursor-pointer {
cursor: pointer;
}
Expand Down Expand Up @@ -6493,6 +6497,10 @@ button,
cursor: auto;
}

.sm\:cursor-default {
cursor: default;
}

.sm\:cursor-pointer {
cursor: pointer;
}
Expand Down Expand Up @@ -9454,6 +9462,10 @@ button,
cursor: auto;
}

.md\:cursor-default {
cursor: default;
}

.md\:cursor-pointer {
cursor: pointer;
}
Expand Down Expand Up @@ -12415,6 +12427,10 @@ button,
cursor: auto;
}

.lg\:cursor-default {
cursor: default;
}

.lg\:cursor-pointer {
cursor: pointer;
}
Expand Down Expand Up @@ -15376,6 +15392,10 @@ button,
cursor: auto;
}

.xl\:cursor-default {
cursor: default;
}

.xl\:cursor-pointer {
cursor: pointer;
}
Expand Down
1 change: 1 addition & 0 deletions src/generators/cursor.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import defineClasses from '../util/defineClasses'
export default function() {
return defineClasses({
'cursor-auto': { cursor: 'auto' },
'cursor-default': { cursor: 'default' },
'cursor-pointer': { cursor: 'pointer' },
'cursor-not-allowed': { cursor: 'not-allowed' },
})
Expand Down

0 comments on commit 401ee62

Please sign in to comment.