Closed mattpopovich closed 9 months ago
Can be implemented via {: .dark }
and {: .light }
:
<div style="text-align:center">
<iframe style="border-radius:12px"
src="https://open.spotify.com/embed/track/1ngygj9MIxtLvDFJxZj0vE?utm_source=generator&theme=0"
width="100%" height="352" frameBorder="0"
allowfullscreen="" allow="autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture" loading="lazy"></iframe>
</div>{: .dark }
<div style="text-align:center">
<iframe style="border-radius:12px"
src="https://open.spotify.com/embed/track/1ngygj9MIxtLvDFJxZj0vE?utm_source=generator"
width="100%" height="352" frameBorder="0"
allowfullscreen="" allow="autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture" loading="lazy"></iframe>
</div>{: .light }
Would be nice to automate this with an embed/spotify.html thing similar to the Youtube one:
{% include embed/youtube.html id='JMtz9G-F67U' %}
White banners around. Would be nice to have those be transparent or change to black for dark mode