Skip to content

feat/tailwind-v4 - #440

Draft
vekkele wants to merge 9 commits into
nextfrom
feat/tailwind-v4
Draft

feat/tailwind-v4#440
vekkele wants to merge 9 commits into
nextfrom
feat/tailwind-v4

Conversation

@vekkele

@vekkele vekkele commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

Summary

Migrate tailwind v3 -> v4

Warning

All consumers must be updated to v4 too. The single exception is santiment.net

Migration

Steps to update tailwind v3 -> v4 (more thorough description is here - https://tailwindcss.com/docs/upgrade-guide)

  1. Run tw migration tool - npx @tailwindcss/upgrade
  2. Add @reference rule to all <style> tags (scoping is changes so it's need now, more on this - https://tailwindcss.com/docs/upgrade-guide#using-apply-with-vue-svelte-or-css-modules)
  3. Fix individual issues

Potential issues, limitations and breaking changes

Further optimizations

  • Legacy .js config is left intact, but it's deprecated now. It works ok now though, so it's better to handle it in another PR
  • Work around the .css style imports and possible @tailwind duplication
  • Use @tailwindcss/vite plugin instead of postcss plugin. It should improve performance (docs - https://tailwindcss.com/docs/upgrade-guide#using-vite)

@vekkele
vekkele force-pushed the feat/tailwind-v4 branch from 3bb0285 to 1e52e4c Compare July 2, 2026 09:09
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.

1 participant