twbs/examples

Functions should be imported first , as the official docs recommends. Vite example

lucasdavidferrero opened this issue · 3 comments

Reading the Vite example, I note that functions are imported after variable overrides:

@import "~bootstrap/scss/functions";

Official docs recommend include the functions first:
https://getbootstrap.com/docs/5.3/customize/sass/#importing

Also note that there are 2 mistakes in the above example file:
1- Miss @import "~bootstrap/scss/variables-dark";
2- Wrong import path of helpers: @import "helpers"; (should be @import "~bootstrap/scss/helpers";)

Thanks for opening this issue @lucasdavidferrero. It's going to be fixed in #41.
Regarding the missing import of scss/variables-dark, it is mainly because the v5.2.3 is still an alpha version. I'll discuss this topic in the PR with other maintainers.

FYI the issue will be closed automatically when the PR will be merged.