Skip to content

Build your personal knowledge base with Trilium Notes

fix(video_player): unreadable controls on light theme

Elian Doran82592ada54f5
diff --git a/apps/client/src/widgets/type_widgets/file/Video.css b/apps/client/src/widgets/type_widgets/file/Video.css
index eaa932c5a8..0be415f84d 100644
--- a/apps/client/src/widgets/type_widgets/file/Video.css
+++ b/apps/client/src/widgets/type_widgets/file/Video.css
@@ -28,6 +28,9 @@
flex-direction: column;
gap: 0.5em;
background: rgba(0, 0, 0, 0.5);
+ color: white;
+ --icon-button-hover-color: white;
+ --icon-button-hover-background: rgba(255, 255, 255, 0.2);
opacity: 1;
transition: opacity 300ms ease;
@@ -70,7 +73,6 @@
.video-time {
font-size: 0.85em;
font-variant-numeric: tabular-nums;
- color: white;
white-space: nowrap;
}
@@ -99,7 +101,6 @@
right: 0;
transform: translateY(15%);
text-align: center;
- color: white;
font-size: 0.6rem;
font-variant-numeric: tabular-nums;
}