From 6cf8e70ca4b69952456de24b578ac1349c5518e9 Mon Sep 17 00:00:00 2001 From: Cory LaViska Date: Wed, 15 Jul 2020 16:35:55 -0400 Subject: [PATCH] Update default line heights --- docs/tokens/typography.md | 6 +++--- src/styles/shoelace.scss | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/tokens/typography.md b/docs/tokens/typography.md index dbd05ba9d..10d989860 100644 --- a/docs/tokens/typography.md +++ b/docs/tokens/typography.md @@ -49,6 +49,6 @@ Font sizes use `rem` units so they scale with the base font size. The pixel valu | Token | Value | Example | | ------------------------- | ----- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `--sl-line-height-dense` | 1.25 |
The quick brown fox jumped over the lazy dog.
The quick brown fox jumped over the lazy dog.
The quick brown fox jumped over the lazy dog.
| -| `--sl-line-height-normal` | 1.5 |
The quick brown fox jumped over the lazy dog.
The quick brown fox jumped over the lazy dog.
The quick brown fox jumped over the lazy dog.
| -| `--sl-line-height-loose` | 1.75 |
The quick brown fox jumped over the lazy dog.
The quick brown fox jumped over the lazy dog.
The quick brown fox jumped over the lazy dog.
| +| `--sl-line-height-dense` | 1.4 |
The quick brown fox jumped over the lazy dog.
The quick brown fox jumped over the lazy dog.
The quick brown fox jumped over the lazy dog.
| +| `--sl-line-height-normal` | 1.8 |
The quick brown fox jumped over the lazy dog.
The quick brown fox jumped over the lazy dog.
The quick brown fox jumped over the lazy dog.
| +| `--sl-line-height-loose` | 2.2 |
The quick brown fox jumped over the lazy dog.
The quick brown fox jumped over the lazy dog.
The quick brown fox jumped over the lazy dog.
| diff --git a/src/styles/shoelace.scss b/src/styles/shoelace.scss index a6e56ce41..120c21bc0 100644 --- a/src/styles/shoelace.scss +++ b/src/styles/shoelace.scss @@ -121,9 +121,9 @@ --sl-letter-spacing-loose: 0.075em; // Line heights - --sl-line-height-dense: 1.25; - --sl-line-height-normal: 1.5; - --sl-line-height-loose: 1.75; + --sl-line-height-dense: 1.4; + --sl-line-height-normal: 1.8; + --sl-line-height-loose: 2.2; ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // Form tokens