fix: darken fullscreen caption in light mode

This commit is contained in:
2026-06-14 10:56:05 +02:00
parent 6e832554c6
commit a187a33bf9

View File

@@ -41,6 +41,7 @@ export const APP_STYLES = ` :root {
--overlay-media-bg: rgba(15, 23, 42, 0.86); --overlay-media-bg: rgba(15, 23, 42, 0.86);
--overlay-media-border: rgba(148, 163, 184, 0.18); --overlay-media-border: rgba(148, 163, 184, 0.18);
--overlay-media-shadow: 0 12px 30px rgba(2, 6, 23, 0.3); --overlay-media-shadow: 0 12px 30px rgba(2, 6, 23, 0.3);
--overlay-caption-text: rgba(226, 232, 240, 0.82);
--card-border: rgba(148, 163, 184, 0.16); --card-border: rgba(148, 163, 184, 0.16);
--timeline-surface: rgba(15, 23, 42, 0.88); --timeline-surface: rgba(15, 23, 42, 0.88);
--timeline-surface-soft: rgba(15, 23, 42, 0.76); --timeline-surface-soft: rgba(15, 23, 42, 0.76);
@@ -104,6 +105,7 @@ export const APP_STYLES = ` :root {
--overlay-media-bg: rgba(248, 250, 252, 0.94); --overlay-media-bg: rgba(248, 250, 252, 0.94);
--overlay-media-border: rgba(148, 163, 184, 0.26); --overlay-media-border: rgba(148, 163, 184, 0.26);
--overlay-media-shadow: 0 10px 24px rgba(15, 23, 42, 0.08); --overlay-media-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
--overlay-caption-text: #1f2937;
--card-border: rgba(15, 23, 42, 0.11); --card-border: rgba(15, 23, 42, 0.11);
--timeline-surface: rgba(255, 255, 255, 0.84); --timeline-surface: rgba(255, 255, 255, 0.84);
--timeline-surface-soft: rgba(255, 255, 255, 0.94); --timeline-surface-soft: rgba(255, 255, 255, 0.94);
@@ -647,7 +649,7 @@ export const APP_STYLES = ` :root {
justify-content: center; justify-content: center;
align-items: center; align-items: center;
text-align: center; text-align: center;
color: var(--timeline-text-muted); color: var(--overlay-caption-text);
} }
.overlay-caption strong { .overlay-caption strong {
@@ -658,8 +660,8 @@ export const APP_STYLES = ` :root {
font-weight: 500; font-weight: 500;
letter-spacing: 0.01em; letter-spacing: 0.01em;
line-height: 1.35; line-height: 1.35;
color: var(--timeline-text-muted); color: var(--overlay-caption-text);
opacity: 0.9; opacity: 0.95;
} }
.overlay-card.loading img { .overlay-card.loading img {