Skip to content

A self-hosted media server and file management system

fix: suspense video info title is too bright in dark mode

aminnausin1e0d55c0d5a1
diff --git a/resources/js/components/video/VideoInfoPanel.vue b/resources/js/components/video/VideoInfoPanel.vue
index 29f5ce4e..0a6037ae 100755
--- a/resources/js/components/video/VideoInfoPanel.vue
+++ b/resources/js/components/video/VideoInfoPanel.vue
@@ -93,7 +93,7 @@ watch(
<h2
:class="[
'text-xl capitalize truncate text-gray-900 dark:text-white',
- { 'bg-neutral-300 dark:bg-neutral-200 rounded-full w-full h-5 my-auto animate-pulse': !stateVideo.id },
+ { 'bg-neutral-300 dark:bg-neutral-700 rounded-full w-full h-5 my-auto animate-pulse': !stateVideo.id },
]"
>
{{ !stateVideo.id ? '' : (metaData?.fields.title ?? '[File Not Found]') }}
@@ -210,7 +210,7 @@ watch(
id="mp4-title"
:class="[
'text-xl truncate capitalize text-gray-900 dark:text-white flex-1',
- { 'bg-neutral-300 dark:bg-neutral-200 rounded-full h-5 my-auto animate-pulse': !stateVideo.id },
+ { 'bg-neutral-300 dark:bg-neutral-700 rounded-full h-5 my-auto animate-pulse': !stateVideo.id },
{ 'h-8': stateVideo.id },
]"
:title="metaData?.fields.title ?? 'no file was found at this location'"