Replies: 2 comments 1 reply
-
This is an interesting idea. I think there could be a good bit of complexity in trying to support a feature like that. However, we do something fairly similar for calc & var. We're a bit focused on other things at the moment but this might be a simple enough addition. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Yeah I figured I'd use a short time on my lunch to see how easy this was. Looks like… very! #9237 — it'll be in our next release :) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi.
in my project I use some special-values for my spacing:
When I use it like this:
mb-foo
tailwind correctly generates my class and adds the clamp-value asmargin-top
. No surprise.When I use it as a negative value
-mt-foo
no class gets generated.I think this is, because you can't just add a
-
before the clamp-value and call it a day.But what could get generated is:
I just wanted to leave this here for discussion. Perhaps in the future, when more
clamp
is used this would be a cool feature :-)Beta Was this translation helpful? Give feedback.
All reactions