Closed toniopelo closed 1 year ago
For spacing i decided to extend the tailwind spacing, instead of replacing it because radix spacing is a bit limited.
So to use the radix spacing you need to use for example mt-rx-3
instead of mt-3
.
Oh, nice, I didn't see that. That's absolutely fine by me then. I'll close this thanks!
When using spacing from radix theme (meaning, using the
mt
,mb
,mx
, etc properties from the radix components) you don't get the same spacing than with themt-x
,mb-x
, etc classes from tailwind.Example:
is not equivalent to
and that's a shame because that would be a lot easier to have consistent spacing across the app.
Thanks for this nice preset :)