-
-
Notifications
You must be signed in to change notification settings - Fork 87
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
Css Helpers #221
Css Helpers #221
Conversation
@mansona can you take a look at this please? I need the styles to close the team page PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please clarify the .dark vs .bg-dark classes.
## Spacing Helpers | ||
In order to apply the spacing scale on pages, a set of predefined helper classes exist for both margins and paddings. | ||
|
||
### Margin Helpers |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mansona will we have a way to have margins be automatic so folks don't have to think about them? I'd like some sort of automatic margins based on viewport.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In a lot of cases, the margins and padding will be automatic, but the point of including these helpers is so that people can make use of the margins and padding without the need to write css 👍 e.g. template only components
This particular change should have been moving the helper documentation from the Layout page to the CSS Helper page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is great 🎉 would love to get this merged soon!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thank you! 👍
This PR will add the css helpers needed to implement the website design.