aboutsummaryrefslogtreecommitdiff
path: root/scss
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2020-05-14 10:48:42 -0700
committerMark Otto <[email protected]>2020-05-14 20:31:30 -0700
commitbbeda10e372f33e80fbc2095a71d5a1fc86f8e30 (patch)
tree76d7a8dfcf8ed72fb8d293e89a64d634c7646a6b /scss
parent12a6576f48bca3ac563e3690fabcfe180cfc2da2 (diff)
downloadbootstrap-bbeda10e372f33e80fbc2095a71d5a1fc86f8e30.tar.xz
bootstrap-bbeda10e372f33e80fbc2095a71d5a1fc86f8e30.zip
v5: Update color on custom switch focus state
Replaces a custom hsla() value (dunno what I was thinking when I added this) with a reassigned existing variable. This variable goes up the stack and attaches to the component-active-bg variable, derived from our primary color out of the box. Fixes #30646.
Diffstat (limited to 'scss')
-rw-r--r--scss/_variables.scss2
1 files changed, 1 insertions, 1 deletions
diff --git a/scss/_variables.scss b/scss/_variables.scss
index 2d8aa51cb..6bbcc066b 100644
--- a/scss/_variables.scss
+++ b/scss/_variables.scss
@@ -683,7 +683,7 @@ $form-switch-padding-left: $form-switch-width + .5em !default;
$form-switch-bg-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'><circle r='3' fill='#{$form-switch-color}'/></svg>") !default;
$form-switch-border-radius: $form-switch-width !default;
-$form-switch-focus-color: hsla(211, 100%, 75%, 1) !default;
+$form-switch-focus-color: $input-focus-border-color !default;
$form-switch-focus-bg-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'><circle r='3' fill='#{$form-switch-focus-color}'/></svg>") !default;
$form-switch-checked-color: $component-active-color !default;