Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SVG Logo is unable to switch between day/night modes #1900

Open
morethan987 opened this issue Jan 1, 2025 · 0 comments
Open

SVG Logo is unable to switch between day/night modes #1900

morethan987 opened this issue Jan 1, 2025 · 0 comments

Comments

@morethan987
Copy link

Describe the bug
When you choose two svg files as the logo and secondaryLogo, they failed to switch when defaultAppearance changes.

But if you use two png files as the logos, it's correct.

Desktop (please complete the following information):

  • OS: Win11
  • Browser edge131.0.2903.112
  • Version [e.g. 22]

Hugo & Blowfish versions
Hugo: 0.140.2
Blowfish: 2.80.0

Additional context
I notice that the svg logo is recently supported, the other part of the code doesn't seem to support the change yet.

morethan987 added a commit to morethan987/blowfish that referenced this issue Jan 4, 2025
Relevant issue: nunocoracao#1900
I add some code to support the day/night mod change for SVG logo.
It's based on the issue: nunocoracao#676
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant