diff --git a/src/components/PaidMessage.svelte b/src/components/PaidMessage.svelte index c55e4104..65f339f0 100644 --- a/src/components/PaidMessage.svelte +++ b/src/components/PaidMessage.svelte @@ -26,6 +26,10 @@ $: if (!paid) { console.error('Not a paid message', { message }); } + const darkEval = () => { + if (!('superChat' in message)) return undefined; + return isDarkColor(`#${message.superChat?.headerTextColor}`) ? Theme.LIGHT : Theme.DARK; + }; {#if paid} @@ -52,9 +56,7 @@ {#if message.message.length > 0}
- +
{/if} diff --git a/src/components/changelog/Changelog.svelte b/src/components/changelog/Changelog.svelte index c71ab7e3..5a38142e 100644 --- a/src/components/changelog/Changelog.svelte +++ b/src/components/changelog/Changelog.svelte @@ -8,18 +8,21 @@