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 <prajwal@hopbox.in>
This commit is contained in:
prajwal 2025-08-28 01:21:43 +05:30 committed by GitHub
parent 868d5f56e2
commit ae104ad7cc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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