Skip to content

feat(styled kit): tailwind v4 update #1122

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 36 commits into
base: main
Choose a base branch
from

Conversation

maiieul
Copy link
Contributor

@maiieul maiieul commented Aug 14, 2025

What is it?

  • Feature / enhancement
  • Bug
  • Docs / tests
  • Other

Why is it needed?

Closes #1115.

Upgrade guide:

  • Run the npx @tailwindcss/upgrade script and let it do most of the work for you
  • Remove your tailwind.config.cjs and postcss.config.cjs
  • install the @tailwindcss/vite package and pass it to your vite.config plugins array
  • Copy paste the new css config base tokens and adapt them to your project
  • If you are in a monorepo, make sure to @source “../../../path/to/your/components“;
  • Add w-full to Modal PanelVariants position.top and position.bottom; add m-auto to position.center
  • If you didn't modify some components, you can re-copy/paste (or re-install them with the cli) for their most up to date version

Checklist:

  • My code follows the developer guidelines of this project
  • I have performed a self-review of my own code
  • I have ran pnpm change and documented my changes
  • I have add necessary docs (if needed)
  • Added new tests to cover the fix / functionality

Copy link

changeset-bot bot commented Aug 14, 2025

⚠️ No Changeset found

Latest commit: 3d74301

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link

pkg-pr-new bot commented Aug 14, 2025

Open in StackBlitz

npm i https://pkg.pr.new/qwikifiers/qwik-ui@1122
npm i https://pkg.pr.new/qwikifiers/qwik-ui/@qwik-ui/headless@1122
npm i https://pkg.pr.new/qwikifiers/qwik-ui/@qwik-ui/styled@1122
npm i https://pkg.pr.new/qwikifiers/qwik-ui/@qwik-ui/utils@1122

commit: 3d74301

@maiieul maiieul force-pushed the tailwind-v4-tailwind-merge branch 2 times, most recently from 8958788 to 73be2e8 Compare August 15, 2025 08:09
@maiieul maiieul force-pushed the tailwind-v4-tailwind-merge branch from 73be2e8 to 5d61f34 Compare August 15, 2025 08:14
Copy link
Contributor

@wmertens wmertens left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@maiieul maiieul changed the title chore(styled kit): tailwind v4 update feat(styled kit): tailwind v4 update Aug 19, 2025
@maiieul
Copy link
Contributor Author

maiieul commented Aug 20, 2025

We will submit this to potential alpha testers before merging as this is a pretty big change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[✨] Switch to Tailwind 4
3 participants