Skip to content

Commit

Permalink
Use Sass variable instead of RGB components (#35017)
Browse files Browse the repository at this point in the history
All other `rgba()` calls use a Sass variable, except for the ones fixed in this commit
  • Loading branch information
tagliala committed Sep 28, 2021
1 parent 69fedf2 commit 4fffcf7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scss/_variables.scss
Expand Up @@ -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;
Expand Down Expand Up @@ -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


Expand Down

0 comments on commit 4fffcf7

Please sign in to comment.