daisyui breaking changes
daisyui 4.0.0 (November 12, 2023) is its newest release with breaking changes, 23 of them. The first: Removed --btn-text-case. Every breaking API change we have recorded in daisyui on npm: 26 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 5.8.3, released November 26, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
daisyui 4.0.0 breaking changes
- Removed
--btn-text-case
The --btn-text-case variable is no longer defined in themes. github.com - Removed
accent-focus
Use a CSS color-mix() class to make the color darker instead. github.com - Removed
colord
colord is no longer a dependency of daisyUI. github.com - Removed
neutral-focus
Use a CSS color-mix() class to make the color darker instead. github.com - Removed
postcss
postcss is no longer a dependency of daisyUI. github.com - Removed
primary-focus
Use a CSS color-mix() class to make the color darker instead. github.com - Removed
rtl
RTL is now automatic; remove rtl: true and use dir=rtl on the html tag. github.com - Removed
rtlcss
rtlcss is no longer a dependency of daisyUI. github.com - Removed
secondary-focus
Use a CSS color-mix() class to make the color darker instead. github.com - Removed
tab-bordered
Use the matching tabs-* modifier on the parent tabs element. github.com - Removed
tab-lg
Use the matching tabs-* modifier on the parent tabs element. github.com - Removed
tab-lifted
Use the matching tabs-* modifier on the parent tabs element. github.com - Removed
tab-md
Use the matching tabs-* modifier on the parent tabs element. github.com - Removed
tab-sm
Use the matching tabs-* modifier on the parent tabs element. github.com - Removed
tab-xs
Use the matching tabs-* modifier on the parent tabs element. github.com - Removed
tailwindcss
tailwindcss is no longer a dependency of daisyUI. github.com - Renamed
primary-focus
The primary-focus, secondary-focus, accent-focus and neutral-focus class names are removed; use CSS color-mix() to darken colors instead. github.com - Behavior changed
Color CSS variables contain OKLCH values; code using hsl(var(--p)) must change to oklch(var(--p)). github.com - Behavior changed
All theme colors changed, so existing designs may look different. github.com - Behavior changed
Directional rules used to modify daisyUI styles may need double checking. github.com - Behavior changed
btn
Button text is no longer uppercase by default. github.com - Behavior changed
tabs
The tabs class uses grid instead of flex, which may change layout. github.com - Signature changed
Theme
Was type Theme = | "light" | "dark" | "cupcake" | "bumblebee" | "emerald" | "corporate" | "synthwave" | "retro" | "cyberpunk" | "valentine" | "halloween" | "garden" | "forest" | "aqua" | "lofi" | "pastel" | "fantasy" | "wireframe" |... npmjs.com
daisyui 3.0.0 breaking changes
- Behavior changed
Color variables now use LCH values and no longer use HSL. Code that reads or overrides color variables as HSL values must be updated. github.com - Behavior changed
modal
The modal component now uses the HTML dialog element, so existing modal markup and its open and close behavior may need to be updated. github.com - Default changed
Only the light and dark themes are enabled by default now. If your code relies on other built-in themes being active, enable them explicitly in the configuration. github.com
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.