Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/scss
diff options
context:
space:
mode:
authorShohei Yoshida <fellows3@gmail.com>2019-04-13 15:06:32 +0300
committerXhmikosR <xhmikosr@gmail.com>2019-04-13 15:06:32 +0300
commitb1b5e87d65cceba094322d13147f0158ad9b2e19 (patch)
tree229bfcc9c9686aeff79eeb5c6900649f31ce072f /scss
parenta86598e4fff82fc6f24bee18a4ce3d1b090cd73e (diff)
Add `$custom-control-label-color` variable (#28633)
Diffstat (limited to 'scss')
-rw-r--r--scss/_custom-forms.scss1
-rw-r--r--scss/_variables.scss2
2 files changed, 3 insertions, 0 deletions
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;