hugo-PaperModX icon indicating copy to clipboard operation
hugo-PaperModX copied to clipboard

[Feature Request] Option for different logo in dark/light mode

Open istvnurbn opened this issue 2 years ago • 0 comments

Hi,

Would it be possible to add a separate dark/light mode logo to the site?

I'm now using a solution by @pushblue.

It is okay for now, but if there will be a major change in the header/footer partial this will cease to work.

My suggestion would be to add two separate icon params under the label group like so:

logo:
  text: "my-title"
  iconDark: "my-darkmode-icon.svg"
  iconLight: "my-lightmode-icon.svg"

Or the approach in the original PaperMod theme would also work: issue 976

istvnurbn avatar Oct 17 '22 13:10 istvnurbn