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

feat: incorporate variables into existing spacing utility classes #1564

Closed
wants to merge 3 commits into from

Conversation

ttkapostol
Copy link

Hello!

We have tried to fix the issue #934 as part of an Open Source Event in Madrid. We have incorporated all repeated measurements in variables. The variables were created according to this table:

Declaration of common measurements for margin and padding
$m-0: 0rem
$m-1: 0.5rem
$m-2: 1rem
$m-3: 1.5rem
$m-4: 2rem
$m-5: 2.5rem
$m-6: 3rem
$m-7: 3.5rem
$m-8: 4rem
$m-9: 4.5rem
$m-10: 5rem
$m-11: 5.5rem
$m-12: 6rem

Then we created $m- for margin $mt- for margin-top, $mr- for margin-right, $mb- for margin-bottom and $ml- for margin-left. Also, $p- for padding and the rest according to this logic.

We hope to hear from you soon and collaborate more with you in the future.

@SaptakS SaptakS self-assigned this Jun 20, 2023
@SaptakS
Copy link
Member

SaptakS commented Jun 20, 2023

I will take a look at this and review soon.

@ttkapostol ttkapostol closed this Jun 20, 2023
@ttkapostol
Copy link
Author

I will take a look at this and review soon.

We are sorry, we just realised there is a mistake in the declaration, we are correcting it right now and we will make another pr.

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

Successfully merging this pull request may close these issues.

3 participants