From d9daee68aebfc5402c086b3274c19e4fb18614e9 Mon Sep 17 00:00:00 2001 From: Cris Luengo Date: Wed, 1 May 2019 16:13:52 -0600 Subject: [PATCH] css: allow customizing text line height. --- css/m-components.css | 1 + css/m-dark+documentation.compiled.css | 1 + css/m-dark.compiled.css | 1 + css/m-light+documentation.compiled.css | 1 + css/m-light.compiled.css | 1 + css/m-theme-dark.css | 1 + css/m-theme-light.css | 1 + 7 files changed, 7 insertions(+) diff --git a/css/m-components.css b/css/m-components.css index e73bd31e..24a449ef 100644 --- a/css/m-components.css +++ b/css/m-components.css @@ -30,6 +30,7 @@ html { body { font-family: var(--font); font-size: 1rem; + line-height: var(--line-height); color: var(--color); } diff --git a/css/m-dark+documentation.compiled.css b/css/m-dark+documentation.compiled.css index 24e8825e..a1f0bbba 100644 --- a/css/m-dark+documentation.compiled.css +++ b/css/m-dark+documentation.compiled.css @@ -345,6 +345,7 @@ html { body { font-family: 'Source Sans Pro', sans-serif; font-size: 1rem; + line-height: normal; color: #dcdcdc; } h1, h2, h3, h4, h5, h6 { diff --git a/css/m-dark.compiled.css b/css/m-dark.compiled.css index 5d79133e..f1204e93 100644 --- a/css/m-dark.compiled.css +++ b/css/m-dark.compiled.css @@ -345,6 +345,7 @@ html { body { font-family: 'Source Sans Pro', sans-serif; font-size: 1rem; + line-height: normal; color: #dcdcdc; } h1, h2, h3, h4, h5, h6 { diff --git a/css/m-light+documentation.compiled.css b/css/m-light+documentation.compiled.css index d48ce9dc..3eba5412 100644 --- a/css/m-light+documentation.compiled.css +++ b/css/m-light+documentation.compiled.css @@ -345,6 +345,7 @@ html { body { font-family: 'Libre Baskerville', serif; font-size: 1rem; + line-height: normal; color: #000000; } h1, h2, h3, h4, h5, h6 { diff --git a/css/m-light.compiled.css b/css/m-light.compiled.css index ce62675d..00959f2f 100644 --- a/css/m-light.compiled.css +++ b/css/m-light.compiled.css @@ -345,6 +345,7 @@ html { body { font-family: 'Libre Baskerville', serif; font-size: 1rem; + line-height: normal; color: #000000; } h1, h2, h3, h4, h5, h6 { diff --git a/css/m-theme-dark.css b/css/m-theme-dark.css index caea5727..2a0d6232 100644 --- a/css/m-theme-dark.css +++ b/css/m-theme-dark.css @@ -28,6 +28,7 @@ --code-font: 'Source Code Pro', monospace; --font-size: 16px; --code-font-size: 0.9em; /* *not* rem, so it follows surrounding font size */ + --line-height: normal; --paragraph-indent: 1.5rem; --paragraph-align: justify; --link-decoration: underline; diff --git a/css/m-theme-light.css b/css/m-theme-light.css index 6f2c293b..e2f593f8 100644 --- a/css/m-theme-light.css +++ b/css/m-theme-light.css @@ -28,6 +28,7 @@ --code-font: 'Source Code Pro', monospace; --font-size: 14px; --code-font-size: 1em; /* *not* rem, so it follows surrounding font size */ + --line-height: normal; --paragraph-indent: 1.5rem; --paragraph-align: justify; --link-decoration: underline; -- 2.30.2