Intellisense showing px even for arbitrary rem is 👌👌 #18475
silvenon
started this conversation in
Kind words
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I was expecting to see pixel values only for utility classes within the spacing scale, but you're showing computed pixels even for arbitrary values, which encourages me to use rems while implementing design, which most often a better choice.
I think this is a great feature of your language server and, whether intentional or not, goes the extra mile in my eyes to use more appropriate CSS units rather than gravitating towards px just because Figma says so.
I love it! In Taillwind v4 I will need it less because of the infinite spacing scale, but in v3 it's super useful.
Beta Was this translation helpful? Give feedback.
All reactions