]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Add `$custom-control-label-color` variable (#28633)
authorShohei Yoshida <fellows3@gmail.com>
Sat, 13 Apr 2019 12:06:32 +0000 (21:06 +0900)
committerXhmikosR <xhmikosr@gmail.com>
Sat, 13 Apr 2019 12:06:32 +0000 (15:06 +0300)
scss/_custom-forms.scss
scss/_variables.scss

index 07574df25761c64eba4ac258fa54c87afe0a1a3a..86edabaa16b174dd44d8075dc5ad37bb2a0666c3 100644 (file)
@@ -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
index 7e6bb888d85b7550a6b2ceeb0aa95e0c832e9b1f..49e86b5d87080bef13141aad80fbef630cf596aa 100644 (file)
@@ -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;