Skip to content
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

Tailwind 4 Upgrade #274

Open
wants to merge 22 commits into
base: master
Choose a base branch
from
Open

Tailwind 4 Upgrade #274

wants to merge 22 commits into from

Conversation

SerhiiTsybulskyi
Copy link
Contributor

@SerhiiTsybulskyi SerhiiTsybulskyi commented Feb 3, 2025

PR Checklist

Please check if your PR fulfills the following requirements:

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

PR Type

What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?

Issue Number: N/A

What is the new behavior?

Does this PR introduce a breaking change?

[x] Yes
[ ] No

Other information

  • Initial upgrade (npx @tailwindcss/upgrade@next)
  • Move color palette from TS to CSS
  • Update postcss.config
  • Get rid of tw-colors plugin and use CSS vars for theme tokens defining
  • Add custom variants to support dark/light theme prefixes
  • Migrate backgroundImage to CSS vars
  • Move TW config from TS to CSS
  • Update src/utils/Theme/config.ts to have the ability to use tokens inside the code base
  • Update Theme Blocks
  • Test components (compare with current version)
  • Add upgrade guide on docs (website)

@SerhiiTsybulskyi SerhiiTsybulskyi self-assigned this Feb 3, 2025
Copy link

netlify bot commented Feb 3, 2025

Deploy Preview for reablocks-storybook ready!

Name Link
🔨 Latest commit 6c86cd0
🔍 Latest deploy log https://app.netlify.com/sites/reablocks-storybook/deploys/67b6dd929b1f910008ec54de
😎 Deploy Preview https://deploy-preview-274--reablocks-storybook.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@SerhiiTsybulskyi SerhiiTsybulskyi marked this pull request as ready for review February 6, 2025 19:42
@amcdnl amcdnl changed the title WIP: TW-4 upgrade Tailwind 4 Upgrade Feb 6, 2025
@SerhiiTsybulskyi SerhiiTsybulskyi changed the title Tailwind 4 Upgrade TW-4 upgrade Feb 7, 2025
@SerhiiTsybulskyi SerhiiTsybulskyi changed the title TW-4 upgrade Tailwind 4 Upgrade Feb 7, 2025
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.

3 participants