Skip to content

A self-hosted media server and file management system

fix: progress bars on video cards have mismatching colours

aminnausin0c28b42a4daf
diff --git a/resources/js/components/cards/data/VideoCard.vue b/resources/js/components/cards/data/VideoCard.vue
index 5b1e2ed8..337f2fc5 100644
--- a/resources/js/components/cards/data/VideoCard.vue
+++ b/resources/js/components/cards/data/VideoCard.vue
@@ -202,7 +202,7 @@ const dateInformation = computed(() => getMediaDateDescription(videoData));
:title="`Progress: ${videoData.progress_percentage}s`"
>
<div
- :class="cn('playback-progress-fill bg-foreground-3 mt-auto h-full w-full', { 'bg-primary-muted dark:bg-primary': currentID === videoData.id })"
+ :class="cn('playback-progress-fill bg-foreground-3 mt-auto h-full w-full', { 'bg-primary-muted dark:bg-primary/80': currentID === videoData.id })"
:style="{ width: `${videoData.progress_percentage}%` }"
></div>
<div :class="'h-full w-full flex-1 bg-neutral-300 dark:bg-neutral-700'"></div>
@@ -221,6 +221,6 @@ const dateInformation = computed(() => getMediaDateDescription(videoData));
}
.dark .data-card:hover .playback-progress-fill {
- background-color: var(--color-primary);
+ background-color: var(--color-primary-active);
}
</style>