Skip to content

Commit 2d40d0b

Browse files
Add delay-0 and duration-0 by default (#10294)
* Add `delay-0` by default * Update defaultConfig.stub.js * update changelog Co-authored-by: Robin Malfait <[email protected]>
1 parent 6f45428 commit 2d40d0b

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1313
- Support using variables as arbitrary values without `var(...)` ([#9880](https://github.com/tailwindlabs/tailwindcss/pull/9880), [#9962](https://github.com/tailwindlabs/tailwindcss/pull/9962))
1414
- Add `--watch=always` option to prevent exit when stdin closes ([#9966](https://github.com/tailwindlabs/tailwindcss/pull/9966))
1515
- Add standalone CLI build for 64-bit Windows on ARM (`node16-win-arm64`) ([#10001](https://github.com/tailwindlabs/tailwindcss/pull/10001))
16+
- Add `delay-0` and `duration-0` by default ([#10294](https://github.com/tailwindlabs/tailwindcss/pull/10294))
1617

1718
### Fixed
1819

stubs/defaultConfig.stub.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -852,6 +852,7 @@ module.exports = {
852852
'top-left': 'top left',
853853
},
854854
transitionDelay: {
855+
0: '0s',
855856
75: '75ms',
856857
100: '100ms',
857858
150: '150ms',
@@ -863,6 +864,7 @@ module.exports = {
863864
},
864865
transitionDuration: {
865866
DEFAULT: '150ms',
867+
0: '0s',
866868
75: '75ms',
867869
100: '100ms',
868870
150: '150ms',

0 commit comments

Comments
 (0)