fix(web): dark mode uploading font color (#7372)

* fix: dark mode uploading font color

* chore: remove dark text by default
This commit is contained in:
Sebastian Mahr authored and GitHub committed 2024-02-23 17:05:09 +00:00
1 parent ee58569b42
commit 78ece4ced9
1 file changed
+2 -1
@@ -45,7 +45,8 @@
/>
<div
class="relative mt-[5px] h-[15px] w-full rounded-md bg-gray-300 text-white dark:bg-immich-dark-gray dark:text-black"
class="relative mt-[5px] h-[15px] w-full rounded-md bg-gray-300 text-white dark:bg-immich-dark-gray"
class:dark:text-black={uploadAsset.state === UploadState.STARTED}
>
{#if uploadAsset.state === UploadState.STARTED}
<div class="h-[15px] rounded-md bg-immich-primary transition-all" style={`width: ${uploadAsset.progress}%`} />