Change8

Migrating to Tailwind CSS v4.0.15

Version v4.0.15 introduces 1 breaking change. This guide details how to update your code.

Released: 3/20/2025

1
Breaking Changes
1
Migration Steps
8
Affected Symbols

⚠️ Check Your Code

If you use any of these symbols, you need to read this guide:

--theme()-bg-conic-*border-widthPreflighttailwindcss/pluginPluginUtils--value()--modifier()

Breaking Changes

Issue #1

The --theme(…) function now returns CSS variables instead of raw values by default, except in contexts where variables are invalid (like @media queries).

Migration Steps

  1. 1
    Review usage of the --theme(…) function; ensure your CSS logic accounts for it returning CSS variables rather than static values in most contexts.

Release Summary

This release focuses on bug fixes for CSS variable handling, Vue template processing, and browser-specific crashes, while updating the --theme() function to prefer CSS variables.

Need More Details?

View the full release notes and all changes for Tailwind CSS v4.0.15.

View Full Changelog