tailwindcss/packages/@tailwindcss-postcss/src
Adam Wathan 32cf4af2a4
Rename --transition-timing-function-* variables to --ease-* (#14886)
This PR renames the `--transition-timing-function-*` theme variables to
`--ease-*` to more closely match the utility names and be a bit more
terse in general.

```diff
  @theme {
-   --transition-timing-function-in: cubic-bezier(0.4, 0, 1, 1);
-   --transition-timing-function-out: cubic-bezier(0, 0, 0.2, 1);
-   --transition-timing-function-in-out: cubic-bezier(0.4, 0, 0.2, 1);

+   --ease-in: cubic-bezier(0.4, 0, 1, 1);
+   --ease-out: cubic-bezier(0, 0, 0.2, 1);
+   --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  }
```

This is part of a bigger set of changes where we're renaming other theme
variables as well with the same goals, since many existing theme
variables like `--shadow-*` and `--radius-*` are already not using the
explicit CSS property name.

---------

Co-authored-by: Adam Wathan <4323180+adamwathan@users.noreply.github.com>
2024-11-06 10:51:34 -05:00
..
__snapshots__ Rename --transition-timing-function-* variables to --ease-* (#14886) 2024-11-06 10:51:34 -05:00
fixtures/example-project Add @source support (#14078) 2024-08-07 16:38:44 +02:00
postcss-fix-relative-paths Resolve @import in core (#14446) 2024-09-23 17:05:55 +02:00
index.cts Postcss: Bring back proper type exports (#14256) 2024-08-26 15:54:07 +02:00
index.test.ts Remove fallbacks from theme var(...) calls (#14881) 2024-11-05 15:44:21 -05:00
index.ts Optimize generated CSS output (#14873) 2024-11-06 11:39:09 +00:00