Skip to content

Commit

Permalink
Add delay-0 and duration-0 by default (#10294)
Browse files Browse the repository at this point in the history
* Add `delay-0` by default

* Update defaultConfig.stub.js

* update changelog

Co-authored-by: Robin Malfait <[email protected]>
  • Loading branch information
adamwathan and RobinMalfait authored Jan 11, 2023
1 parent 6f45428 commit 2d40d0b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Support using variables as arbitrary values without `var(...)` ([#9880](https://github.com/tailwindlabs/tailwindcss/pull/9880), [#9962](https://github.com/tailwindlabs/tailwindcss/pull/9962))
- Add `--watch=always` option to prevent exit when stdin closes ([#9966](https://github.com/tailwindlabs/tailwindcss/pull/9966))
- Add standalone CLI build for 64-bit Windows on ARM (`node16-win-arm64`) ([#10001](https://github.com/tailwindlabs/tailwindcss/pull/10001))
- Add `delay-0` and `duration-0` by default ([#10294](https://github.com/tailwindlabs/tailwindcss/pull/10294))

### Fixed

Expand Down
2 changes: 2 additions & 0 deletions stubs/defaultConfig.stub.js
Original file line number Diff line number Diff line change
Expand Up @@ -852,6 +852,7 @@ module.exports = {
'top-left': 'top left',
},
transitionDelay: {
0: '0s',
75: '75ms',
100: '100ms',
150: '150ms',
Expand All @@ -863,6 +864,7 @@ module.exports = {
},
transitionDuration: {
DEFAULT: '150ms',
0: '0s',
75: '75ms',
100: '100ms',
150: '150ms',
Expand Down

0 comments on commit 2d40d0b

Please sign in to comment.