$enable-grid-classes: false;
$enable-cssgrid:true;
$deepBlue: #032f3e;
body {
--bs-body-bg: orange ;
}
@import "https://fonts.googleapis.com/css2?family=Space+Grotesk:[email protected]&display=swap";
@import "../node_modules/bootstrap/scss/bootstrap";
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Space+Grotesk:[email protected]&display=swap" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="./scss/custom.css">
<link rel="stylesheet" href="./node_modules/bootstrap/scss/bootstrap.scss">
<title>Frontend Mentor | Single-page developer portfolio</title>
</head>
<body>
<div class="container-fluid">
<h1 class="h1">Hello World!</h1>
</div>
i am trying to use a sass variable in order to apply a background-color to the scss stylesshet. I have a live compiler. I am able to use the --bs-body-bg: #(any-color) to apply settings but I am unable to apply the variables I would like to use.I have also tried changing the variables inside the variables.scss file in nodemules.
I tried using different compilers. I tried removing the custom.css and custom.scss files so they can get compile again. The variables that i create in the scss file does not work at all. Only if I put in --bs-*.I am using bootstrap version 5.3.3. I don't want to interpolate. Thank you