I wish to edit Bootstrap 5 dark and light themes for my project in parallel, but do not see a convenient way to edit in one place neither custom SCSS variables directly nor edit them (only default theme available) with the Theme Manager.
If you can advise me how to organize Bootstrap 5 light and dark themes with SCSS directly, I would appreciate.
Hi, @ben! Thanks for the response. I see that I can add the Theme Manager component and Theme Switch on my page. That's actually great! However, what I can't get is the ability to customize the dark theme similarly as the default one. How can I organize it? In the provided tutorial, I see only the explanation of changing some styles conditionally, but I wish to customize the entire dark theme (background colors, primary color, secondary etc.).
UPD:
Here, I read that since the dark theme is generated by Bootstrap automatically, there is no need for changes. Why? Actually, as a UI/UX developer I would not rush with such a conclusion. It is actually not true, I rarely rely on something automatically generated by any framework.
And if you really want to change some settings you can always use the advanced options in the theme manager.
How can I change the dark theme variables there? I could not find something like: dark theme background.
Thanks a lot, @ben! That's the thing I was looking for. My issue was that I was making a silly mistake by placing my dark theme css before the bootstrap.min.css line. Placing my dark-theme.css after the bootstrap.min.css fixed the thing. Now, with the combination of customizable variables from BS5 docs in the way you show, I can adjust everything as needed. Many thanks!