add transparency for themes

This commit is contained in:
JCEEE
2026-09-10 19:07:57 +01:00
parent a5e3b80ff6
commit 486f239fb1
3 changed files with 12 additions and 2 deletions
@@ -103,6 +103,8 @@
);
}
let hasClaimableRewards = $derived(claimableRewards().length > 0);
function memberClaimable(memberId: string) {
return claimableRewards().filter((r: any) => r.memberId === memberId);
}
@@ -1067,7 +1069,7 @@
{/if}
</Card>
<Card cols={1} title="Claims" accent="#f97316" class="claims-card">
<Card cols={1} title="Claims" accent={claimableRewards().length > 0 ? '#f97316' : undefined} class={claimableRewards().length > 0 ? 'claims-card' : ''}>
{#if claimableRewards().length === 0}
<div class="claims-empty">
{@html checkCircleIcon}<span>No outstanding claims</span>