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.

Studio: give the annotate comment box a visible shadow in dark mode (#13071)

Michael Han9f447a426a32
diff --git a/studio/frontend/src/features/browser/annotate-layer.tsx b/studio/frontend/src/features/browser/annotate-layer.tsx
index 050c0cb7c16..3e535b0a18e 100644
--- a/studio/frontend/src/features/browser/annotate-layer.tsx
+++ b/studio/frontend/src/features/browser/annotate-layer.tsx
@@ -545,8 +545,9 @@ function markNumber<Item extends { id: number }>(items: Item[], id: number | nul
return index === -1 ? items.length + 1 : index + 1;
}
+// Deep shadow and faint rim so it stands out on dark pages.
const SURFACE =
- "border border-border bg-background text-foreground shadow-[0_8px_28px_-6px_rgba(0,0,0,0.18)] dark:border-transparent dark:bg-neutral-800 dark:text-white dark:shadow-xl";
+ "border border-border bg-background text-foreground shadow-[0_8px_28px_-6px_rgba(0,0,0,0.18)] dark:border-white/10 dark:bg-neutral-800 dark:text-white dark:shadow-[0_12px_40px_-4px_rgba(0,0,0,0.85),0_4px_12px_-2px_rgba(0,0,0,0.6)]";
/** Voice typing into a comment, as the composer's microphone does. */
function useCommentDictation(draft: string, onDraft: (value: string) => void) {