chore(deps): update dependency tailwindcss to v4
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| tailwindcss (source) | ^3.4.17 -> ^4.0.0 |
Release Notes
tailwindlabs/tailwindcss (tailwindcss)
v4.0.3
Fixed
- Fix incorrect removal of
@import url();(#β16144)
v4.0.2
Fixed
- Only generate positive
grid-cols-*andgrid-rows-*utilities (#β16020) - Ensure escaped theme variables are handled correctly (#β16064)
- Ensure we process Tailwind CSS features when only using
@referenceor@variant(#β16057) - Refactor gradient implementation to work around prettier/prettier#17058 (#β16072)
- Vite: Ensure hot-reloading works with SolidStart setups (#β16052)
- Vite: Fix a crash when starting the development server in SolidStart setups (#β16052)
- Vite: Don't rebase URLs that appear to be aliases (#β16078)
- Vite: Transform
<style>blocks in HTML files (#β16069) - Prevent camel-casing CSS custom properties added by JavaScript plugins (#β16103)
- Do not emit
@keyframesin@theme reference(#β16120) - Discard invalid declarations when parsing CSS (#β16093)
- Do not emit empty CSS rules and at-rules (#β16121)
- Handle
@variantwhen at the top-level of a stylesheet (#β16129)
v4.0.1
Added
- Include
:openpseudo-class in existingopenvariant (#β15349)
Fixed
- Remove invalid
min-w/h-noneutilities (#β15845) - Discard CSS variable shorthand utilities that don't use valid CSS variables (#β15738)
- Ensure font-size utilities with
nonemodifier have a line-height set e.g.text-sm/none(#β15921) - Ensure font-size utilities with unknown modifier don't generate CSS (#β15921)
- Donβt suggest font weight utilities more than once (#β15857)
- Suggest container query variants (#β15857)
- Disable bare value suggestions when not using the
--spacingvariable (#β15857) - Ensure suggested classes are properly sorted (#β15857)
- Donβt look at .gitignore files outside initialized repos (#β15941)
- Find utilities when using the Svelte class shorthand syntax across multiple lines (#β15974)
- Find utilities when using the Angular class shorthand syntax (#β15974)
- Find utilities when using functions inside arrays (#β15974)
- Ensure that
@tailwindcss/browserdoes not pollute the global namespace (#β15978) - Ensure that
tailwind-mergeis not scanned when using the Vite plugin (#β16005) - Ensure CSS theme variables are available within shadow roots (#β15975)
- Fix crash when project lives in the
/directory (#β15988) - Ensure custom variants have a non-empty selector list (#β16009)
- Upgrade: Ensure JavaScript config files on different drives are correctly migrated (#β15927)
-
Upgrade: Migrate
leading-[1]toleading-none(#β16004) - Upgrade: Do not migrate arbitrary leading utilities to bare values (#β16004)
v4.0.0
Added
- New high-performance engine β where full builds are up to 5x faster, and incremental builds are over 100x faster β and measured in microseconds.
-
Designed for the modern web β built on cutting-edge CSS features like cascade layers, registered custom properties with
@property, andcolor-mix(). - Simplified installation β fewer dependencies, zero configuration, and just a single line of code in your CSS file.
- First-party Vite plugin β tight integration for maximum performance and minimum configuration.
- Automatic content detection β all of your template files are discovered automatically, with no configuration required.
- Built-in import support β no additional tooling necessary to bundle multiple CSS files.
- CSS-first configuration β a reimagined developer experience where you customize and extend the framework directly in CSS instead of a JavaScript configuration file.
- CSS theme variables β all of your design tokens exposed as native CSS variables so you can access them anywhere.
- Dynamic utility values and variants β stop guessing what values exist in your spacing scale, or extending your configuration for things like basic data attributes.
- Modernized P3 color palette β a redesigned, more vivid color palette that takes full advantage of modern display technology.
- Container queries β first-class APIs for styling elements based on their container size, no plugins required.
- New 3D transform utilities β transform elements in 3D space directly in your HTML.
- Expanded gradient APIs β radial and conic gradients, interpolation modes, and more.
- @βstarting-style support β a new variant you can use to create enter and exit transitions, without the need for JavaScript.
- not-* variant β style an element only when it doesn't match another variant, custom selector, or media or feature query.
-
Even more new utilities and variants β including support for
color-scheme,field-sizing, complex shadows,inert, and more.
Start using Tailwind CSS v4.0 today by installing it in a new project, or playing with it directly in the browser on Tailwind Play.
For existing projects, we've published a comprehensive upgrade guide and built an automated upgrade tool to get you on the latest version as quickly and painlessly as possible.
For a deep-dive into everything that's new, check out the announcement post.
Configuration
π Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
π¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.
β» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
π Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.