/* Keep Forgejo's original mark in light themes and use the Intez Git mark in dark themes. */
html[data-theme*="-dark"] img[src$="/img/logo.svg"] {
  content: url("../img/intez-git-logo.png");
  object-fit: contain;
}

html[data-theme*="-dark"] .github-footer .footer-logo::before {
  background: transparent url("../img/intez-git-logo.png") center / contain no-repeat;
  -webkit-mask: none;
  mask: none;
}

@media (prefers-color-scheme: dark) {
  html[data-theme*="-auto"] img[src$="/img/logo.svg"] {
    content: url("../img/intez-git-logo.png");
    object-fit: contain;
  }

  html[data-theme*="-auto"] .github-footer .footer-logo::before {
    background: transparent url("../img/intez-git-logo.png") center / contain no-repeat;
    -webkit-mask: none;
    mask: none;
  }
}
