Skip to content

Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.

Give dark mode toasts a shadow and background separation (#6186)

Michael Han8961cf154fd5
diff --git a/studio/frontend/src/index.css b/studio/frontend/src/index.css
index 797e17420ea..cb54d95e68d 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. */