hugo-toha / toha

A Hugo theme for personal portfolio
https://hugo-toha.github.io
MIT License
1.03k stars 586 forks source link

Fix dark mode image setting when system dark is used #923

Closed andrewmolyuk closed 4 months ago

andrewmolyuk commented 5 months ago

Issue

Images do not switch to dark view when system dark is used in theme mode.

Description

Images do not switch to dark view when system dark is used in theme mode.

Test Evidence

  1. Change system theme to dark
  2. Be sure that Dark mode is enabled in config.yaml
  3. Add darkLogo to company item in experiences.yaml
  4. Run website
  5. Switch to system theme mode - it should be dark
  6. All images are not switched to their dark representation
netlify[bot] commented 5 months ago

Deploy Preview for toha-ci ready!

Name Link
Latest commit 5dd67cb4d3a0a3815b2b503a5abe48258e1081de
Latest deploy log https://app.netlify.com/sites/toha-ci/deploys/663e5e6272e0a70008dce92a
Deploy Preview https://deploy-preview-923--toha-ci.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.