/* Sidebar after login has a dark background: use the light logo */
#kt_app_sidebar img[src$="/custom/logo-dark.svg"],
.app-sidebar img[src$="/custom/logo-dark.svg"] {
  content: url("/static/custom/logo-light.svg");
}

/* Dark theme: all backgrounds are dark, so use the light logo everywhere */
[data-bs-theme="dark"] img[src$="/custom/logo-dark.svg"] {
  content: url("/static/custom/logo-light.svg");
}
