I'm tryna customize bootstrap for a website I'm building but I've came accross an issue:
When I import bootstrap's CSS normally, downloading or from a CDN I can use the .bg-dark class, but when I use SCSS and import bootstrap's SCSS, the bg-dark class isn't created.
That makes a big issue on my website as my navbar is using this class.
I've searched in my generated css (ctrl+f) "bg-dark" and did not found the class.
I cannot do a reduced test case as I cannot seem to make bootstrap work with customization with SCSS on codepen and don't know how to make one that works either.
What operating system(s) are you seeing the problem on?
Prerequisites
Describe the issue
I'm tryna customize bootstrap for a website I'm building but I've came accross an issue: When I import bootstrap's CSS normally, downloading or from a CDN I can use the
.bg-dark
class, but when I use SCSS and import bootstrap's SCSS, the bg-dark class isn't created.That makes a big issue on my website as my navbar is using this class. I've searched in my generated css (ctrl+f) "bg-dark" and did not found the class.
Here is the scss part where I import bootstrap:
Reduced test cases
I cannot do a reduced test case as I cannot seem to make bootstrap work with customization with SCSS on codepen and don't know how to make one that works either.
What operating system(s) are you seeing the problem on?
Windows
What browser(s) are you seeing the problem on?
Chrome
What version of Bootstrap are you using?
5.3.3