From b1b5e87d65cceba094322d13147f0158ad9b2e19 Mon Sep 17 00:00:00 2001 From: Shohei Yoshida Date: Sat, 13 Apr 2019 21:06:32 +0900 Subject: [PATCH] Add `$custom-control-label-color` variable (#28633) --- scss/_custom-forms.scss | 1 + scss/_variables.scss | 2 ++ 2 files changed, 3 insertions(+) diff --git a/scss/_custom-forms.scss b/scss/_custom-forms.scss index 07574df257..86edabaa16 100644 --- a/scss/_custom-forms.scss +++ b/scss/_custom-forms.scss @@ -71,6 +71,7 @@ .custom-control-label { position: relative; margin-bottom: 0; + color: $custom-control-label-color; vertical-align: top; // Background-color and (when enabled) gradient diff --git a/scss/_variables.scss b/scss/_variables.scss index 7e6bb888d8..49e86b5d87 100644 --- a/scss/_variables.scss +++ b/scss/_variables.scss @@ -526,6 +526,8 @@ $custom-control-indicator-box-shadow: $input-box-shadow !default; $custom-control-indicator-border-color: $gray-500 !default; $custom-control-indicator-border-width: $input-border-width !default; +$custom-control-label-color: null !default; + $custom-control-indicator-disabled-bg: $input-disabled-bg !default; $custom-control-label-disabled-color: $gray-600 !default;