Add Sass variables for hr background-color and border

Co-Authored-By: Houssam Hammouda <11141564+devhoussam@users.noreply.github.com>
This commit is contained in:
devhoussam 2021-05-03 22:11:11 +00:00 committed by Mark Otto
parent 2596c97034
commit c331a150cd
2 changed files with 4 additions and 2 deletions

View File

@ -69,8 +69,8 @@ body {
hr {
margin: $hr-margin-y 0;
color: $hr-color; // 1
background-color: currentColor;
border: 0;
background-color: $hr-bg-color;
border: $hr-border-width;
opacity: $hr-opacity;
}

View File

@ -661,6 +661,8 @@ $blockquote-footer-font-size: $small-font-size !default;
$hr-margin-y: $spacer !default;
$hr-color: inherit !default;
$hr-bg-color: currentColor !default;
$hr-border-width: 0 !default;
$hr-height: $border-width !default;
$hr-opacity: .25 !default;