Skip to content
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

Use scaled spacing for margin and padding #366

Open
pwang2 opened this issue Dec 3, 2024 · 0 comments
Open

Use scaled spacing for margin and padding #366

pwang2 opened this issue Dec 3, 2024 · 0 comments

Comments

@pwang2
Copy link

pwang2 commented Dec 3, 2024

Does it make more sense if we use scaled spacing like px-2, ma-3 as default value instead of arbitrary values here in default tailwind preset?

Rationale is we need customization for spacing in a lot of occasions as the default value for almost all UI elements are deemed as too spacious. Overriding REM value sounds like more intrusive as tailwind theme provided scaled spacing can be customized to as below.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant