Skip to content

Commit

Permalink
fix: dark background
Browse files Browse the repository at this point in the history
  • Loading branch information
khui0 committed Jul 16, 2024
1 parent e44d1f1 commit a38c395
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/lib/components/GameFeed.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,9 @@
<img
src={guess.diff}
alt="{guess.name} diff"
class="bg-base-100/50 h-full aspect-[3/2] ml-2"
class:bg-[#1a1a1a]={$settings.diffDarkBg === "true"}
class="{$settings.diffDarkBg === 'true'
? 'bg-[#1a1a1a]'
: 'bg-base-100/50'} h-full aspect-[3/2] ml-2"
/>
{/if}
</div>
Expand Down

0 comments on commit a38c395

Please sign in to comment.