Currently, I am in the process of creating a new CSS class with a background color similar to the one used in Bootstrap's "bg-primary" class. Although I have looked through the documentation and learned that using the color as a variable in other CSS files is possible under SASS, I am uncertain about how to proceed.
My goal is to achieve something along these lines:
.my_css_class{
background-color: bg-primary;
}
I have come across suggestions on Stack Overflow indicating the need to import numerous files, but it seems like there should be a more straightforward approach available.