mirror of
https://github.com/Ellpeck/TinyLifeWeb.git
synced 2024-12-21 22:39:22 +01:00
fixed bluesky embed in light mode
This commit is contained in:
parent
649fb2de63
commit
b922369f5c
1 changed files with 2 additions and 2 deletions
|
@ -8,7 +8,7 @@
|
|||
<div class="col-auto" style="padding: 10px;">
|
||||
<div style="width: 350px; height: 600px; overflow-y: scroll;">
|
||||
<script src="https://cdn.jsdelivr.net/npm/bsky-embed/dist/bsky-embed.es.js" async></script>
|
||||
<bsky-embed username="tinylifegame.bsky.social" mode="dark" limit="10" load-more="true"></bsky-embed>
|
||||
<bsky-embed username="tinylifegame.bsky.social" limit="10" load-more="true"></bsky-embed>
|
||||
</div>
|
||||
<span class="social-bottom">Or view on <a href="https://bsky.app/profile/tinylifegame.bsky.social">Bluesky</a> or <a href="https://twitter.com/TinyLifeGame">Twitter</a></span>
|
||||
</div>
|
||||
|
@ -20,7 +20,7 @@
|
|||
<script>
|
||||
let theme = darkTheme ? "dark" : "light";
|
||||
$("#discord-widget").attr("src", `https://discordapp.com/widget?id=181435613147430913&theme=${theme}`);
|
||||
$(".twitter-timeline").attr("data-theme", theme);
|
||||
$("bsky-embed").attr("mode", theme)
|
||||
</script>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in a new issue