0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-01-21 00:52:43 -05:00

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 2024-02-23 18:05:09 +01:00 committed by GitHub
parent ee58569b42
commit 78ece4ced9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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}%`} />