Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

fix(web): lighter trace view surfaces in dark mode (#18345)

Trang Nguyenbb898a492c99
diff --git a/web/src/features/traces/components/TracePanelNavigationHeader/TracePanelNavigationHeader.tsx b/web/src/features/traces/components/TracePanelNavigationHeader/TracePanelNavigationHeader.tsx
index a17cdc9cbd..a4ccb87704 100644
--- a/web/src/features/traces/components/TracePanelNavigationHeader/TracePanelNavigationHeader.tsx
+++ b/web/src/features/traces/components/TracePanelNavigationHeader/TracePanelNavigationHeader.tsx
@@ -206,7 +206,7 @@ function TracePanelNavigationHeaderExpanded({
);
return (
- <Command className="h-auto shrink-0 overflow-hidden rounded-none border-b">
+ <Command className="h-auto shrink-0 overflow-hidden rounded-none border-b bg-transparent">
{/* Container queries keep the primary view switch visible for as long as
it fits. Search moves below the controls before that switch collapses,
and remains the same input across every layout. */}
diff --git a/web/src/styles/globals.css b/web/src/styles/globals.css
index b492fddd90..a8afa3b120 100644
--- a/web/src/styles/globals.css
+++ b/web/src/styles/globals.css
@@ -562,8 +562,8 @@
--icon-foreground: 0 0% 54%;
--surface-code: 0 0% 2.3%;
--surface-code-header: 0 0% 8.2%;
- --surface-sunken: 0 0% 4%;
- --surface-output: 0 0% 9%;
+ --surface-sunken: var(--modal);
+ --surface-output: var(--popover);
--popover: 0 0% 12%;
--popover-foreground: var(--foreground);