style: Use white OSD background for prefer light

This commit is contained in:
Sophie Herold 2024-09-17 12:29:27 +02:00
parent b69c7a7546
commit 152a0f9d2c
2 changed files with 9 additions and 2 deletions

View file

@ -0,0 +1,3 @@
:root {
--osd-background-color: rgba(0, 0, 0, 0.65);
}

View file

@ -1,7 +1,11 @@
:root {
--osd-background-color: rgba(240, 240, 240, 0.75);
}
/* Overlay controls for prev/next and zoom */ /* Overlay controls for prev/next and zoom */
.osd-box { .osd-box {
border-radius: 12px; border-radius: 12px;
background: rgba(0, 0, 0, 0.65); background-color: var(--osd-background-color);
padding: 6px; padding: 6px;
} }
@ -12,7 +16,7 @@
.fullscreen revealer:not(.raised) .fullscreen-osd { .fullscreen revealer:not(.raised) .fullscreen-osd {
color: rgba(255, 255, 255, 0.9); color: rgba(255, 255, 255, 0.9);
background: rgba(0, 0, 0, 0.65); background-color: var(--osd-background-color);
} }
shadow, shadow,