- Issue created by @duntuk
"color_mode" is used in the following but doesn't seem to be used for anything:
component: navbar
component: page-header
E.g.
navbar.twig
{% set color_mode = color_mode ? ['navbar-' ~ color_mode] : [] %}
Example results in
class="navbar-dark"
or...
class="navbar-light"
both classes don't exist anywhere,
Remove those references, or replace with something like
data-bs-theme="dark"
data-bs-theme="light"
EX:
<nav class="navbar bg-primary" data-bs-theme="dark">
<!-- Navbar content -->
</nav>
As mentioned in bootstrap 5.3
https://getbootstrap.com/docs/5.3/components/navbar/
https://getbootstrap.com/docs/5.3/customize/color-modes/
Active
2.0
Code