Skip to content

Commit

Permalink
Move CSS block out of SCSS vars file (#1832)
Browse files Browse the repository at this point in the history
I think files like `variables.scss` should probably only contain Sass variables and not CSS variables. At least, that's what Bootstrap's variables.scss (https://github.com/twbs/bootstrap/blob/main/scss/_variables.scss) file does, as far as I can tell.
  • Loading branch information
gabalafou authored May 27, 2024
1 parent 41c4cf5 commit a5fbc1a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,7 @@
max-width: unset;
width: unset;
}

.btn {
--bs-btn-focus-box-shadow: #{$btn-focus-box-shadow};
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,3 @@ $focus-ring-box-shadow: 0 0 $focus-ring-blur $focus-ring-width $focus-ring-color
// outline creates the same style of focus ring, it just uses CSS outline instead of box shadow
$focus-ring-outline: $focus-ring-color solid $focus-ring-width;
$btn-focus-box-shadow: $focus-ring-box-shadow;

.btn {
--bs-btn-focus-box-shadow: #{$btn-focus-box-shadow};
}

0 comments on commit a5fbc1a

Please sign in to comment.