Skip to content

chore: migrate Tailwind v3.4 to v4 - #101

Merged
s-annam merged 1 commit into
mainfrom
nest-22-tailwind-v4
Jun 16, 2026
Merged

chore: migrate Tailwind v3.4 to v4#101
s-annam merged 1 commit into
mainfrom
nest-22-tailwind-v4

Conversation

@s-annam

@s-annam s-annam commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

Summary

Migrates ResumeLint from Tailwind v3.4 to v4. Upgrades tailwindcss 3.4 → 4.3.1, swaps the PostCSS-based setup for the @tailwindcss/vite plugin, ports the config into a CSS-first @theme inline block in src/styles.css (all semantic tokens preserved), removes tailwind.config.js, and updates renamed v4 utilities (shadow-smshadow-xs, rounded-smrounded-xs, outline-noneoutline-hidden).

No behavior change — config/styling migration only. Scoped to exclude unrelated phone-handling work.

Refs #22

Test plan

  • npm run typecheck clean
  • npm run test green
  • Manually verified in npm run dev / npm run preview

- Upgrade tailwindcss 3.4 → 4.3.1, add @tailwindcss/vite plugin
- Replace PostCSS-based setup with @tailwindcss/vite in vite.config.ts
- Migrate src/styles.css: @tailwind directives → @import "tailwindcss"
- Add @theme inline block with fontFamily and all semantic color tokens
  (brand-*, surface-*, content-*, border-*, accent-*, feedback-*)
- Remove tailwind.config.js (no longer needed in v4 CSS-first config)
- Clear postcss.config.js (v4 Vite plugin handles prefixing + imports)
- Update renamed v4 utilities: shadow-sm→shadow-xs, rounded-sm→rounded-xs,
  outline-none→outline-hidden across Button, EditableField, JdInput,
  JdMatch, Result

Refs #22

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@s-annam s-annam changed the title chore(NEST-22): migrate ResumeLint from Tailwind v3.4 to v4 chore: migrate ResumeLint from Tailwind v3.4 to v4 Jun 16, 2026
@s-annam
s-annam merged commit d5d5583 into main Jun 16, 2026
2 checks passed
@s-annam
s-annam deleted the nest-22-tailwind-v4 branch June 16, 2026 18:13
@s-annam s-annam changed the title chore: migrate ResumeLint from Tailwind v3.4 to v4 chore: migrate Tailwind v3.4 to v4 Jun 16, 2026
s-annam added a commit that referenced this pull request Jun 25, 2026
- Upgrade tailwindcss 3.4 → 4.3.1, add @tailwindcss/vite plugin
- Replace PostCSS-based setup with @tailwindcss/vite in vite.config.ts
- Migrate src/styles.css: @tailwind directives → @import "tailwindcss"
- Add @theme inline block with fontFamily and all semantic color tokens
  (brand-*, surface-*, content-*, border-*, accent-*, feedback-*)
- Remove tailwind.config.js (no longer needed in v4 CSS-first config)
- Clear postcss.config.js (v4 Vite plugin handles prefixing + imports)
- Update renamed v4 utilities: shadow-sm→shadow-xs, rounded-sm→rounded-xs,
  outline-none→outline-hidden across Button, EditableField, JdInput,
  JdMatch, Result

Refs #22

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
s-annam added a commit that referenced this pull request Jun 28, 2026
- Upgrade tailwindcss 3.4 → 4.3.1, add @tailwindcss/vite plugin
- Replace PostCSS-based setup with @tailwindcss/vite in vite.config.ts
- Migrate src/styles.css: @tailwind directives → @import "tailwindcss"
- Add @theme inline block with fontFamily and all semantic color tokens
  (brand-*, surface-*, content-*, border-*, accent-*, feedback-*)
- Remove tailwind.config.js (no longer needed in v4 CSS-first config)
- Clear postcss.config.js (v4 Vite plugin handles prefixing + imports)
- Update renamed v4 utilities: shadow-sm→shadow-xs, rounded-sm→rounded-xs,
  outline-none→outline-hidden across Button, EditableField, JdInput,
  JdMatch, Result

Refs #22

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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