Skip to content

Upgrade/tailwind v4#99

Merged
rohanharikr merged 5 commits intomainfrom
upgrade/tailwind-v4
Apr 1, 2026
Merged

Upgrade/tailwind v4#99
rohanharikr merged 5 commits intomainfrom
upgrade/tailwind-v4

Conversation

@rohanharikr
Copy link
Copy Markdown
Member

No description provided.

rohanharikr and others added 5 commits April 1, 2026 10:29
- Replace @tailwind directives with @import "tailwindcss"
- Convert JS config to CSS @theme block
- Switch to @tailwindcss/vite plugin, remove postcss/autoprefixer
- Convert bg-opacity utilities to slash syntax
- Convert @apply !important to @apply ! prefix syntax
- Add cursor-pointer for buttons (v4 preflight change)
- Use --stroke-width-3 for correct stroke-width mapping
- Add @reference for Svelte scoped style blocks
- Add checkbox/radio checked state overrides for forms plugin compat
- Delete tailwind.config.js and postcss.config.js

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Tailwind v4 changed rounded-sm from 0.125rem to 0.25rem.
The old value is now rounded-xs.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Base layer styles override utility classes in v4. Move border-radius
to individual button utilities/classes instead.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@rohanharikr rohanharikr merged commit 774ae09 into main Apr 1, 2026
1 check passed
@rohanharikr rohanharikr deleted the upgrade/tailwind-v4 branch April 1, 2026 09:51
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