Replies: 2 comments 1 reply
-
Hi @sickerin AstroWind doesn't have direct support for what you need but maybe this can help you: |
Beta Was this translation helpful? Give feedback.
1 reply
-
I have just tried to apply this answer, which seems to work nicely:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, could I ask what would be the recommended way to do the following, where a different image is shown based on dark and light mode? I believe the code below that I've tried doesn't work because Astro code runs on the server and the localStorage is on the browser. From what I understand I have these options.
I've also seen this post #33 about changing icons.
Beta Was this translation helpful? Give feedback.
All reactions