Card header color theming (#26573)

Define new variable for card header color
This commit is contained in:
Andrew Pucci 2018-10-21 04:05:54 -04:00 committed by XhmikosR
parent becb6ce346
commit d13ae1fc1a
2 changed files with 2 additions and 0 deletions

View File

@ -68,6 +68,7 @@
.card-header {
padding: $card-spacer-y $card-spacer-x;
margin-bottom: 0; // Removes the default margin-bottom of <hN>
color: $card-cap-color;
background-color: $card-cap-bg;
border-bottom: $card-border-width solid $card-border-color;

View File

@ -767,6 +767,7 @@ $card-border-radius: $border-radius !default;
$card-border-color: rgba($black, .125) !default;
$card-inner-border-radius: calc(#{$card-border-radius} - #{$card-border-width}) !default;
$card-cap-bg: rgba($black, .03) !default;
$card-cap-color: $body-color !default;
$card-bg: $white !default;
$card-img-overlay-padding: 1.25rem !default;