chore: fix wrong classname color text (#5252)

This commit is contained in:
Faisal Amir 2025-06-12 14:03:45 +07:00 committed by GitHub
parent 079f206044
commit 82736c96b1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View File

@ -219,7 +219,7 @@ export function DownloadManagement() {
<p className="text-left-panel-fg/80 font-medium">Downloads</p>
<div className="mt-2 flex items-center justify-between space-x-2">
<Progress value={overallProgress * 100} />
<span className="text-xs font-medium text-main-view-fg/80 shrink-0">
<span className="text-xs font-medium text-left-panel-fg/80 shrink-0">
{Math.round(overallProgress * 100)}%
</span>
</div>
@ -228,7 +228,7 @@ export function DownloadManagement() {
<div className="fixed bottom-4 left-4 z-50 size-10 bg-main-view border-2 border-main-view-fg/10 rounded-full shadow-md cursor-pointer flex items-center justify-center">
<div className="relative">
<IconDownload
className="text-main-view-fg/50 -mt-1"
className="text-left-panel-fg/50 -mt-1"
size={20}
/>
<div className="bg-primary font-bold size-5 rounded-full absolute -top-4 -right-4 flex items-center justify-center text-primary-fg">

View File

@ -517,12 +517,12 @@ function ProviderDetail() {
})
) : (
<div className="-mt-2">
<div className="flex items-center gap-2 text-left-panel-fg/80">
<div className="flex items-center gap-2 text-main-view-fg/80">
<h6 className="font-medium text-base">
No model found
</h6>
</div>
<p className="text-left-panel-fg/60 mt-1 text-xs leading-relaxed">
<p className="text-main-view-fg/70 mt-1 text-xs leading-relaxed">
Available models will be listed here. If you don't have
any models yet, visit the&nbsp;
<Link to={route.hub}>Hub</Link>