diff --git a/studio/frontend/src/index.css b/studio/frontend/src/index.css index 797e17420e..cb54d95e68 100644 --- a/studio/frontend/src/index.css +++ b/studio/frontend/src/index.css @@ -1751,10 +1751,11 @@ margin: 0 !important; } -/* Boost shadow on dark surfaces; mirrors .shadow-border / .menu-soft-surface pattern. */ +/* Composer shadow on the dark background color so toasts + do not merge into card-colored surfaces behind them. */ .dark [data-sonner-toast][data-styled='true'] { - background-color: var(--card) !important; - box-shadow: none !important; + background-color: var(--background) !important; + box-shadow: 0 2px 8px -2px rgba(0, 0, 0, 0.16) !important; } /* Selectable toast text; non-selectable toast buttons. */