Skip to content

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
@netlify
Copy link

netlify bot commented Feb 3, 2025

Deploy Preview for reablocks-storybook ready!

Name Link
🔨 Latest commit 3a297af
🔍 Latest deploy log https://app.netlify.com/sites/reablocks-storybook/deploys/67dd575df1a7ee0008ea5113
😎 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
@SerhiiTsybulskyi SerhiiTsybulskyi merged commit 097e8b3 into master Mar 21, 2025
5 checks passed
@SerhiiTsybulskyi SerhiiTsybulskyi deleted the tw-4 branch March 21, 2025 12:15
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.

4 participants