Different Application Logos for Light and Dark Mode in Frappe/ERPNext

I am using Frappe/ERPNext and want to configure different application logos based on the selected theme.

I have two different logos for Light and Dark modes.

Requirement:

  • Light Theme → Light-mode logo should be displayed.
  • Dark Theme → Dark-mode logo should be displayed.
  • Automatic Theme → The logo should automatically change according to the system theme.

I checked Navbar Settings → Application Logo, but it appears that only one application logo can be configured.

I also checked Website Theme → Stylesheet / Custom SCSS, but this does not appear to affect the Desk (/desk) application logo.

Question: Is there any built-in Frappe/ERPNext configuration to achieve theme-based application logo switching without creating a custom app or modifying core files?