Add margin variable for paragraphs (#23140)

This commit is contained in:
Prateek Goel 2017-08-11 07:00:01 +01:00 committed by Mark Otto
parent 9497c2164c
commit 7c452ac607
2 changed files with 8 additions and 1 deletions

View File

@ -103,7 +103,7 @@ h1, h2, h3, h4, h5, h6 {
// bottom margin to use `rem` units instead of `em`.
p {
margin-top: 0;
margin-bottom: 1rem;
margin-bottom: $paragraph-margin-bottom;
}
// Abbreviations

View File

@ -13,6 +13,7 @@
// Spacing
// Body
// Links
// Paragraphs
// Grid breakpoints
// Grid containers
// Grid columns
@ -167,6 +168,12 @@ $link-decoration: none !default;
$link-hover-color: darken($link-color, 15%) !default;
$link-hover-decoration: underline !default;
// Paragraphs
//
// Style p element.
$paragraph-margin-bottom: 1rem;
// Grid breakpoints
//