Replies: 5 comments 5 replies
-
Hello. I have the same question. I want an image within a post to adapt to dark mode or light mode. I appreciate any help |
Beta Was this translation helpful? Give feedback.
-
Piling in here to say that this would be very useful to be able to change images used in the markdown based on the theme being light/dark. |
Beta Was this translation helpful? Give feedback.
-
You could use an svg-image and add styles with a This also works for the syntax-highlighting-theme or a favicon. |
Beta Was this translation helpful? Give feedback.
-
I got this working on my site. Here's a guide: |
Beta Was this translation helpful? Give feedback.
-
Thanks push.blue! I look forward to trying this out sometime.
…On Mon, Jul 18, 2022 at 1:35 PM push.blue ***@***.***> wrote:
I got this working on my site. Here's a guide:
https://push.blue/posts/20220718-add-lightdarklogoswap/
—
Reply to this email directly, view it on GitHub
<#689 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AZK2A2KJU2MZZYV45G7HGWTVUW5ZZANCNFSM5KWO4G6A>
.
You are receiving this because you commented.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
-
Hi
Is there a way to add images that could adapt to dark/light mode ? For example often logos are available in 2 version for dark and light mode.
If not any clues on how to develop this feature?
Thanks for the theme by the way
Valerian
Beta Was this translation helpful? Give feedback.
All reactions