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
diff options
context:
space:
mode:
authorGeremia Taglialatela <tagliala@users.noreply.github.com>2021-09-28 18:18:02 +0300
committerGitHub <noreply@github.com>2021-09-28 18:18:02 +0300
commit4fffcf7232ddb79a2e93cc497cf3f926d947b68f (patch)
treea9c4d42644c654ed53a05e513efffeb8391ce38e /scss/_variables.scss
parent69fedf203bcf1e2a16bc1bc590ca142d3ccdeca9 (diff)
Use Sass variable instead of RGB components (#35017)
All other `rgba()` calls use a Sass variable, except for the ones fixed in this commit
Diffstat (limited to 'scss/_variables.scss')
-rw-r--r--scss/_variables.scss6
1 files changed, 3 insertions, 3 deletions
diff --git a/scss/_variables.scss b/scss/_variables.scss
index 3994f18975..f33b804a17 100644
--- a/scss/_variables.scss
+++ b/scss/_variables.scss
@@ -924,7 +924,7 @@ $form-check-inline-margin-end: 1rem !default;
// scss-docs-end form-check-variables
// scss-docs-start form-switch-variables
-$form-switch-color: rgba(0, 0, 0, .25) !default;
+$form-switch-color: rgba($black, .25) !default;
$form-switch-width: 2em !default;
$form-switch-padding-start: $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;
@@ -1374,14 +1374,14 @@ $toast-font-size: .875rem !default;
$toast-color: null !default;
$toast-background-color: rgba($white, .85) !default;
$toast-border-width: 1px !default;
-$toast-border-color: rgba(0, 0, 0, .1) !default;
+$toast-border-color: rgba($black, .1) !default;
$toast-border-radius: $border-radius !default;
$toast-box-shadow: $box-shadow !default;
$toast-spacing: $container-padding-x !default;
$toast-header-color: $gray-600 !default;
$toast-header-background-color: rgba($white, .85) !default;
-$toast-header-border-color: rgba(0, 0, 0, .05) !default;
+$toast-header-border-color: rgba($black, .05) !default;
// scss-docs-end toast-variables