Skip to content

[v4] undocumented button style changes in beta.1 #15073

@F-fengzi

Description

@F-fengzi

What version of Tailwind CSS are you using?

v4.0.0-beta.1

What build tool (or framework if it abstracts the build tool) are you using?

vite 5.4.11, @tailwindcss/vite 4.0.0-beta.1, svelte 5.2.7

What version of Node.js are you using?

v20.17.0

What browser are you using?

Chrome 131

What operating system are you using?

Windows

Reproduction URL

https://play.tailwindcss.com/onv0DKfoZj (it's really just an unstyled button)

Describe your issue

Kind of a follow-up to #14985, I noticed that my button styles broke after updating to this version. There doesn't seem to be a changelog tracking the changes from alpha.36 to beta.1. Will we ever get one? I completely understand if it's not a priority, and I can probably figure the changes out 😅.

What I noticed: probably a preflight change, buttons are now styled by default with a border and a background color, or perhaps more.
You can reproduce this by making an unstyled button and compare them between this version and a previous version.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions