From d13ae1fc1ac6a67464c353ffa9dfc6cdb195d02a Mon Sep 17 00:00:00 2001 From: Andrew Pucci Date: Sun, 21 Oct 2018 04:05:54 -0400 Subject: [PATCH] Card header color theming (#26573) Define new variable for card header color --- scss/_card.scss | 1 + scss/_variables.scss | 1 + 2 files changed, 2 insertions(+) diff --git a/scss/_card.scss b/scss/_card.scss index fcae56d630..f3de02708b 100644 --- a/scss/_card.scss +++ b/scss/_card.scss @@ -68,6 +68,7 @@ .card-header { padding: $card-spacer-y $card-spacer-x; margin-bottom: 0; // Removes the default margin-bottom of + color: $card-cap-color; background-color: $card-cap-bg; border-bottom: $card-border-width solid $card-border-color; diff --git a/scss/_variables.scss b/scss/_variables.scss index 3189611475..eeeaf67678 100644 --- a/scss/_variables.scss +++ b/scss/_variables.scss @@ -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;