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

Spacing guidelines #9

Merged
merged 6 commits into from
Sep 20, 2023
Merged

Spacing guidelines #9

merged 6 commits into from
Sep 20, 2023

Conversation

josuebran
Copy link
Contributor

  • Set spacing system to 8px base unit
  • Based on helios spacing system as specified
  • Added css custom properties for spacing system

@@ -2,7 +2,7 @@
border-radius: 6px;
padding: 0 12px;
height: 40px;
font-size: 0.90625rem;
font-size: 1.8125rem;
Copy link
Collaborator

@colegoldsmith colegoldsmith Sep 19, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this is right, from the specs and using the --rem-base it should be font-size: calc(16 / var(--rem-base) * 1rem);

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! I will double check this.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It has been fixed!

Copy link
Collaborator

@colegoldsmith colegoldsmith left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@colegoldsmith colegoldsmith merged commit ab9b789 into main Sep 20, 2023
@josuebran josuebran deleted the spacing-guidelines branch October 4, 2023 22:20
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.

2 participants