Skip to content

Commit ae104ad

Browse files
Prajwalg19prajwal
andauthored
fix(web): add primary text color to file upload toast (#21340)
* fix:add primary text color to file upload toast * fix:make progress bar visible in dark mode * fix:make it text-primary --------- Co-authored-by: prajwal <[email protected]>
1 parent 868d5f5 commit ae104ad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

web/src/lib/components/shared-components/upload-asset-preview.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,9 @@
9191
</div>
9292

9393
{#if uploadAsset.state === UploadState.STARTED}
94-
<div class="text-black relative mt-[5px] h-[15px] w-full rounded-md bg-gray-300 dark:bg-immich-dark-gray">
94+
<div class="text-black relative mt-[5px] h-[15px] w-full rounded-md bg-gray-300 dark:bg-gray-700">
9595
<div class="h-[15px] rounded-md bg-immich-primary transition-all" style={`width: ${uploadAsset.progress}%`}></div>
96-
<p class="absolute top-0 h-full w-full text-center text-[10px]">
96+
<p class="absolute top-0 h-full w-full text-center text-primary text-[10px]">
9797
{#if uploadAsset.message}
9898
{uploadAsset.message}
9999
{:else}

0 commit comments

Comments
 (0)