mirror of
https://github.com/lennyzeltser/conversation-replay
synced 2026-06-21 13:55:53 +00:00
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:
@@ -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) */
|
||||
|
||||
Reference in New Issue
Block a user