fix: Dark mode arrow glow for system dark mode

Add prefers-color-scheme media query override for tab scroll button
shadows, so arrow glow switches to dark automatically with system
dark mode (not just when parent sends theme-change message).
This commit is contained in:
lennyzeltser
2026-01-15 20:48:25 -05:00
parent b258b46561
commit 1fbb81f628
+5
View File
@@ -425,6 +425,11 @@ function generateCss(theme: Theme, hasMultipleScenarios: boolean, colors?: Color
--shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.3);
--shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.4);
}
.tab-scroll-btn svg {
filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.8))
drop-shadow(0 0 4px rgba(0, 0, 0, 0.6));
}
}
/* Dark mode via data-theme attribute (for iframe sync with parent) */