An ATproto social media client -- with an independent Appview.

Fix color theme for embed (#7965)

* fix embed default theme

* use correct dataset string

authored by samuel.fm and committed by

GitHub 94d7bc98 8cb55adf

+3 -1
+3 -1
bskyembed/snippet/embed.ts
··· 68 68 if (ref_url.startsWith('http')) { 69 69 searchParams.set('ref_url', encodeURIComponent(ref_url)) 70 70 } 71 - searchParams.set('colorMode', embed.dataset.blueskyColorMode || 'system') 71 + if (embed.dataset.blueskyEmbedColorMode) { 72 + searchParams.set('colorMode', embed.dataset.blueskyEmbedColorMode) 73 + } 72 74 73 75 const iframe = document.createElement('iframe') 74 76 iframe.setAttribute('data-bluesky-id', id)