Skip to content

Commit 7973764

Browse files
authored
Fix Waterfall icon being black with light mode (#236)
1 parent 0ed0046 commit 7973764

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed
Lines changed: 3 additions & 0 deletions
Loading

src/components/data/SoftwareDownload.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import PaperIconUrl from "@/assets/brand/paper.svg?url";
88
import VelocityIconUrl from "@/assets/brand/velocity.svg?url";
99
import FoliaIconUrl from "@/assets/brand/folia.svg?url";
10-
import WaterfallIconUrl from "@/assets/brand/waterfall.svg?url";
10+
import WaterfallIconUrl from "@/assets/brand/waterfall-white.svg?url";
1111
import type { Snippet } from "svelte";
1212
import { type ProjectBuildsOrError } from "@/utils/download";
1313

src/components/data/SoftwarePreview.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const { id, name, icon, description, type, eol } = Astro.props;
2424
<article class="btn btn-outline btn-gray group h-full flex-col items-start justify-start rounded-md p-4 text-left">
2525
<div class="flex flex-row items-center gap-4">
2626
<div class="h-12 w-12 rounded-lg bg-gray-800 p-3">
27-
<Icon name={icon} class:list={["h-full w-full", eol && "group-hover:stroke-red-400 group-hover:text-red-400"]} />
27+
<Icon name={icon} class:list={["h-full w-full text-white", eol && "group-hover:stroke-red-400 group-hover:text-red-400"]} />
2828
</div>
2929
<h3 class:list={["flex flex-1 items-center gap-4 text-lg font-medium", eol && "group-hover:text-red-400"]}>
3030
{name}

src/components/layout/SoftwareHeader.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const { id, name, icon, github, eol } = Astro.props;
2525
<div class="flex-1">
2626
<div class="mb-6 flex flex-row items-center gap-4">
2727
<div class="h-12 w-12 rounded-lg bg-gray-800 p-3">
28-
{icon && <Icon name={icon} class="h-full w-full" />}
28+
{icon && <Icon name={icon} class="h-full w-full text-white" />}
2929
</div>
3030
<h1 class="flex items-center gap-4 text-xl font-medium">
3131
{name}

0 commit comments

Comments
 (0)