Skip to content

Commit

Permalink
Card header color theming (#26573)
Browse files Browse the repository at this point in the history
Define new variable for card header color
  • Loading branch information
andrewpucci authored and XhmikosR committed Oct 21, 2018
1 parent becb6ce commit d13ae1f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions scss/_card.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
1 change: 1 addition & 0 deletions scss/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit d13ae1f

Please sign in to comment.