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 { hr {
margin: $hr-margin-y 0; margin: $hr-margin-y 0;
color: $hr-color; // 1 color: $hr-color; // 1
background-color: currentColor; background-color: $hr-bg-color;
border: 0; border: $hr-border-width;
opacity: $hr-opacity; opacity: $hr-opacity;
} }

View File

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