From 10f91729aa243550c1d3bb8cb23912afb107ede7 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 46e880a17f..a5520e7d81 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;