My attempt to adjust the $spacer variable in SASS to increase margins seems to be failing. Here is my code:
@import url(../node_modules/bootstrap/scss/_functions.scss);
@import url(../node_modules/bootstrap/scss/_variables.scss);
@import url(../node_modules/bootstrap/scss/_utilities);
$spacer: 15rem;
@import url(../node_modules/bootstrap/scss/bootstrap.scss);
:root {
--bs-body-font-family: 'Inter', Arial;
}
h1 {
font-size: 5.93rem;
line-height: 121%;
}
h2 {
font-size: 2.5rem;
line-height: 212%;
}
h3 {
font-size: 1.5rem;
line-height: 120%;
}
I placed $spacer: 15rem
where I believe it should go, after importing _functions.scss
and before bootstrap.scss
.
However, the resulting CSS file does not show any changes to the margins. Upon investigation, I realized I was using @import url(./././././.)
, which I have now corrected to @import "././././"
. The CSS output is now displaying correctly, but the margins are still unchanged.