Replies: 1 comment
-
|
You'd have the @theme {
--spacing-lh-4: …;
}If you'd like it to be more dynamic: @utility mt-lh-* {
margin-top: calc(1lh * --value(integer));
}But you'd have to do this for every set of utilities you'd like to extend. |
Beta Was this translation helpful? Give feedback.
0 replies
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 would like to add a custom spacing scale, so that
mt-lh-4is possible, for example.This is what I tried so far:
No one of this four variants work. Is this even possible?
Beta Was this translation helpful? Give feedback.
All reactions