From 7c8b3be162835cc4d51fedbb9f74d6f9036198ed Mon Sep 17 00:00:00 2001 From: Catherine Bui Date: Fri, 17 Nov 2017 12:15:27 -0800 Subject: [PATCH] use `primer-core` language and fix links --- modules/primer-marketing-support/lib/variables.scss | 2 +- modules/primer-support/docs/spacing.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/primer-marketing-support/lib/variables.scss b/modules/primer-marketing-support/lib/variables.scss index da433e1e..130f3690 100644 --- a/modules/primer-marketing-support/lib/variables.scss +++ b/modules/primer-marketing-support/lib/variables.scss @@ -2,7 +2,7 @@ $alt-body-font: Roboto, -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", "Oxygen", "Ubuntu", "Cantarell", "Open Sans", sans-serif; $alt-mono-font: $mono-font; -// Increases standard spacing scale first by 8px for spacer-7 then by 16px step increments for spacer-8 to spacer-12 +// Increases primer-core scale first by 8px for spacer-7 then by 16px step increments for spacer-8 to spacer-12 // i.e. After 40px, we have 48, 64, 80, 96, etc. $spacer-7: $spacer * 6; // 48px $spacer-8: $spacer * 8; // 64px diff --git a/modules/primer-support/docs/spacing.md b/modules/primer-support/docs/spacing.md index c8659760..2aa58b26 100644 --- a/modules/primer-support/docs/spacing.md +++ b/modules/primer-support/docs/spacing.md @@ -21,7 +21,7 @@ The spacing scale is a **base-8** scale. We chose a base-8 scale because eight i The spacing scale is used for [margin](./utilities/margin) and [padding](./utilities/padding) utilities, and via variables within components. -See [primer-marketing-support](https://github.com/primer/primer-css/tree/master/modules/primer-marketing-support) for the extended spacing scale used for marketing needs and the related y-directional spacing utilities for [margin](https://github.com/primer/primer-css/blob/master/modules/primer-marketing-utilities/docs/margin.md) and [padding](https://github.com/primer/primer-css/blob/master/modules/primer-marketing-utilities/docs/padding.md). +See [primer-marketing-support](../primer-marketing-support) for the extended spacing scale used for marketing needs and the related y-axis spacing utilities for [margin](../primer-marketing-utilities/docs/margin.md) and [padding](../primer-marketing-utilities/docs/padding.md). ## Em-based spacing Ems are used for spacing within components such as buttons and form elements. We stick to common fractions for em values so that, in combination with typography and line-height, the total height lands on sensible numbers.