From 2d40d0b30a818dd49a6fe3672ead0b54fe531c53 Mon Sep 17 00:00:00 2001 From: Adam Wathan Date: Wed, 11 Jan 2023 05:12:19 -0500 Subject: [PATCH] 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 --- CHANGELOG.md | 1 + stubs/defaultConfig.stub.js | 2 ++ 2 files changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3793da744..50ee9372c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/stubs/defaultConfig.stub.js b/stubs/defaultConfig.stub.js index 4aaca4e1d..3942d4741 100644 --- a/stubs/defaultConfig.stub.js +++ b/stubs/defaultConfig.stub.js @@ -852,6 +852,7 @@ module.exports = { 'top-left': 'top left', }, transitionDelay: { + 0: '0s', 75: '75ms', 100: '100ms', 150: '150ms', @@ -863,6 +864,7 @@ module.exports = { }, transitionDuration: { DEFAULT: '150ms', + 0: '0s', 75: '75ms', 100: '100ms', 150: '150ms',