-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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
feat(tailwind): migrate to v4 #7507
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
something that may help you:
and for css module: https://tailwindcss.com/docs/compatibility#css-modules |
Yep, with that I made the first commit, I thought it was going to do most of the work |
Note Your Pull Request seems to be updating Translations of the Node.js Website. Whilst we appreciate your intent; Any Translation update should be done through our Crowdin Project. Thank you! |
Hey @bjohansebas I assume this is still a WIP? |
Yep, I'll continue with this later. |
tysm for your contributions <3 |
I think I'll continue after you all have done the migration to the new version of Next.js. |
@bjohansebas bump claudio had merge the pr. You can have fun with git conflict 😁 |
908dbb9
to
9859b48
Compare
--shadow-lg: | ||
0px 4px 6px -2px var(--color-shadow, rgba(0, 0, 0 / 3%)), | ||
0px 12px 16px -4px var(--color-shadow, rgba(0, 0, 0 / 8%)); | ||
--font-open-sans: var(--font-open-sans); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Is this going to cause a Catch-22? (As in, is
--font-open-sans
going to depend on itself?) - Can you re-add my TODO comment?
Ditto for IBM Plex Mono
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm sorry Aviv, but I have no idea what you mean.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, let me explain:
- Catch-22: We are setting
--font-open-sans
to--font-open-sans
. Is this going to end up having it depend on itself, and do nothing, i.e. if you runvar a = a
in JS (wherea
is not defined), or is that not the case in CSS? - I had a TODO comment on the Tailwind config file, can you re-add it to this part of the CSS?
I've denied some changes on Chromatic, if you could take a look:
|
Yes, I had just made the same list by private message Sebastian on slack but I'm waiting for claudio's validation for the changes on the package.json before going further |
c282c65
to
c52e14b
Compare
Description
Upgrade to tailwind-css major 4. And simplified use of postcss.
Check List
npm run format
to ensure the code follows the style guide.npm run test
to check if all tests are passing.npx turbo build
to check if the website builds without errors.