Created by: czirok
index.js
Using different theme names. Not just dark and light. After changing the theme, hide offcanvas.
_navbar.scss
Navbar height error. The problem is due to the backdrop filter.
[data-bs-theme="dark"] & {
// Navbar height error
// backdrop-filter: blur(.25rem);
background-image: linear-gradient(to bottom, rgba(var(--bd-violet-rgb), 1), rgba(var(--bd-violet-rgb), .75));
box-shadow: 0 .5rem 1rem rgba($black, .15), inset 0 -1px 0 rgba($white, .15);
}