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 <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} {#if uploadAsset.state === UploadState.STARTED}
<div class="h-[15px] rounded-md bg-immich-primary transition-all" style={`width: ${uploadAsset.progress}%`} /> <div class="h-[15px] rounded-md bg-immich-primary transition-all" style={`width: ${uploadAsset.progress}%`} />