tailwindcss/packages
Robin Malfait a3cedf253a
Improve transform, transform-cpu and transform-gpu utilities (#13290)
* fix `transform-gpu` translate syntax

* move `skewX` and `skewY` functions into the variable

* use `transform-[…]` with arbitrary values as-is

This will not have any fallbacks to the `skewX` or `skewY` functions.
The arbitrary values will be the only value that's used.

* use `--tw-skew-{x,y}` variables in `transform-cpu` and `transform-gpu`

* update tests

* drop `skewX` and `skewY` functions because they are embedded in the `--tw-skew-x` and `--tw-skew-y` CSS variables

* drop `transform-cpu` and `transform-gpu`

* add `translate-none`, `transform-none`, `rotate-none` and `scale-none`

* ensure `transform` creates a stacking context

* use `<transform-function>` instead of `<angle>`

* re-add `transform-gpu`

* drop the `,`, because `--tw-skew-x` and `--tw-skew-y` will always be defined by the `@property`

* `translate(0)` is not necessary because `--tw-skew-{x,y}` will always be defined

* add skew variables to `transform-gpu`

Otherwise skew's will be gone

* re-add `transform-cpu`
2024-03-21 17:51:15 +01:00
..
@tailwindcss-cli Prepare 4.0.0-alpha.9 release (#13231) 2024-03-13 13:11:06 -04:00
@tailwindcss-postcss 3D transform utilities (#13248) 2024-03-19 17:52:32 +01:00
@tailwindcss-vite Use Vite waitForRequestsIdle (#13291) 2024-03-20 16:40:50 -04:00
tailwindcss Improve transform, transform-cpu and transform-gpu utilities (#13290) 2024-03-21 17:51:15 +01:00
tsconfig.base.json introduce v4 codebase 2024-03-05 14:29:15 +01:00