Skip to content

feat(tailwindcss): upgrade tailwindcss to v4#152

Merged
halvaradop merged 5 commits intomasterfrom
feat/upgrade-tailwindcss
May 18, 2025
Merged

feat(tailwindcss): upgrade tailwindcss to v4#152
halvaradop merged 5 commits intomasterfrom
feat/upgrade-tailwindcss

Conversation

@halvaradop
Copy link
Owner

@halvaradop halvaradop commented May 12, 2025

Description

This pull request upgrades TailwindCSS to the latest version, which introduces significant breaking changes—particularly in how theme variables are defined and customized. The tailwind.config.ts file has been removed, as the new version of Tailwind encourages configuration through the global CSS file of the application.

Additionally, this PR updates the CSS variables used across the packages provided by the @halvaradop/ui library. Several new variables have been introduced to better reflect the design system's standards, while unused or unnecessary variables have been removed.

Removed CSS Variables

  • --primary-hover
  • --secondary-hover
  • --blue, --blue-hover
  • --yellow, --yellow-hover
  • --input-border, --input-background
  • --modal
  • --dialog
  • --text-base
  • --text-inverse
  • --border-base
  • --border-md

Added CSS Variables

  • --on-primary
  • --on-secondary
  • --surface, --on-surface
  • --muted
  • --opacity-cursor
  • --overlay

These changes reflect the transition to a more accessible, scalable, and consistent design system. Be sure to verify your components align with the updated variables to avoid visual regressions.

Checklist

  • Documentation updated
  • No warnings generated
  • Self-review completed
  • All tests added and passing

Notes

@halvaradop halvaradop added the enhancement New feature or request label May 12, 2025
@halvaradop halvaradop merged commit b0731f2 into master May 18, 2025
3 checks passed
@halvaradop halvaradop deleted the feat/upgrade-tailwindcss branch May 18, 2025 00:16
@github-project-automation github-project-automation bot moved this to Backlog in @halvaradop May 18, 2025
@halvaradop halvaradop moved this from Backlog to Done in @halvaradop May 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant