-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Can't unset font-weights in v4 #15811
Comments
The extra: --font-weight-extraBold: 800;
--font-weight-bold: 700;
--font-weight-semiBold: 600;
--font-weight-normal: 400; After is adding them back in |
@idan-faibish Is the issue here that you're seeing these in IntelliSense even if you have removed it? In that case this issue is likely a duplicate of tailwindlabs/tailwindcss-intellisense#1133 and got to do with a bug in IntelliSense. We'll look into it next week! |
well actually you just strengths what I said. we still see all the options in intellisense (in the linked that you attached) |
if I understand correctly, then yes, it is probably the same issue I guess 🤷🏻 what I noticed is that when unsetting the font-weights, only intellisense shows them but when trying to apply them (for example: so I think it is indeed just an intellisense issue |
This will be fixed in the next patch release of Tailwind CSS. Thanks for reporting it. ✨ |
What version of Tailwind CSS are you using?
v4.0.0
What build tool (or framework if it abstracts the build tool) are you using?
vite v6.0.3
What version of Node.js are you using?
v20.13.1
What browser are you using?
Chrome
What operating system are you using?
macOS
Describe your issue
I just started to use tailwind (jumped straight to v4) and I'm building my existing design system under my css file. I'm not sure what I'm doing wrong but I tried plenty of options and I just cant to unset all the existing tailwind's font-weights.
here it what I get on intellisense, it even multiplies the stuff
The text was updated successfully, but these errors were encountered: