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(docs): spacing documentation #145

Merged
merged 2 commits into from
Aug 12, 2019
Merged

feat(docs): spacing documentation #145

merged 2 commits into from
Aug 12, 2019

Conversation

jorgemoya
Copy link
Contributor

Spacing Docs

spacing

@jorgemoya jorgemoya requested a review from a team August 9, 2019 20:31
@@ -8,8 +8,8 @@ export const IconPropTable: React.FC = () => (
<PropTable.Prop name="color" types={<Link href="/colors">Color</Link>}>
Sets the icon color given a color name from our <Link href="/colors">palette</Link>.
</PropTable.Prop>
<PropTable.Prop name="size" types={[<Link href="/utilities/spacing">Spacing</Link>, 'number']}>
Determines the size of the icon. Accepts a <Link href="/utilities/spacing">Spacing</Link> value or a number of px.
<PropTable.Prop name="size" types={[<Link href="/spacing">Spacing</Link>, 'number']}>
Copy link
Contributor

Choose a reason for hiding this comment

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

Don't you think spacing should be under utilities? /utilities/spacing

Copy link
Contributor Author

@jorgemoya jorgemoya Aug 12, 2019

Choose a reason for hiding this comment

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

We want to mimic design.bigcommerce.com and they put it under foundation, which makes more sense to me than utility, in any case. It's really the foundation of most of the components.

Copy link
Contributor

Choose a reason for hiding this comment

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

Good point.

Co-Authored-By: Daniel Almaguer <danielalmaguer@gmail.com>
@jorgemoya jorgemoya merged commit c6756ec into bigcommerce:master Aug 12, 2019
@jorgemoya jorgemoya deleted the spacing-docs branch August 12, 2019 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants