Skip to content

Commit

Permalink
fix spacer variables in spacing doc
Browse files Browse the repository at this point in the history
  • Loading branch information
gladwearefriends committed Feb 26, 2018
1 parent 81825ff commit 8c9ab25
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions modules/primer-support/docs/spacing.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ The spacing scale is a **base-8** scale. We chose a base-8 scale because eight i

| Variable | Scale | Value |
| --- | --- | --- |
| $spacer-1 | 0 | 0 |
| $spacer-0 | 0 | 0 |
| $spacer-1 | 1 | 4px |
| $spacer-1 | 2 | 8px |
| $spacer-1 | 3 | 16px |
| $spacer-1 | 4 | 24px |
| $spacer-1 | 5 | 32px |
| $spacer-1 | 6 | 40px |
| $spacer-2 | 2 | 8px |
| $spacer-3 | 3 | 16px |
| $spacer-4 | 4 | 24px |
| $spacer-5 | 5 | 32px |
| $spacer-6 | 6 | 40px |

These variables are encouraged to be used within components and custom CSS. The spacing scale is also used for [margin](./utilities/margin) and [padding](./utilities/padding) utilities.

Expand Down

0 comments on commit 8c9ab25

Please sign in to comment.