🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.
TypeScript analyticsautogenevaluationlangchainlarge-language-modelsllama-indexllmllm-evaluationllm-observabilityllmopsmonitoringobservabilityopen-sourceopenaiplaygroundprompt-engineeringprompt-managementself-hostedycombinator
fix(web): navigation sidebar uses a lighter sunken surface (#18349)
Trang Nguyen86f9b4560b1c
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.mdindex 25d3a1d8f8..25849ed76d 100644--- a/CONTRIBUTING.md+++ b/CONTRIBUTING.md@@ -558,7 +558,7 @@ The background color of the following component will be `hsl(var(--primary))` an| --find-match-selected-background | Background color for selected search matches | CodeMirrorEditor || --find-match-selected-foreground | Foreground color for selected search matches | CodeMirrorEditor || --find-match-background | Background color for search matches | CodeMirrorEditor |-| --surface-sunken | Off-white panel behind detail content (zinc-50) | Trace detail panel |+| --surface-sunken | Off-white panel behind detail content (99%, lighter than zinc-50) | Trace detail panel, nav sidebar || --surface-output | Background of output blocks in the trace preview (zinc-100) | IOPreview, MarkdownViewer || --surface | Sticky table chrome fill; follows --surface-context | Table headers, footers || --observation-<type>-line | Observation type colour for stroked icons and borders | ItemTypeIcon, graph nodes |diff --git a/web/src/styles/globals.css b/web/src/styles/globals.cssindex a8afa3b120..1aed5d5ce2 100644--- a/web/src/styles/globals.css+++ b/web/src/styles/globals.css@@ -334,7 +334,7 @@well"), matching the docs site's --surface-code convention. */--surface-code: 0 0% 92%;--surface-code-header: 0 0% 86%;- --surface-sunken: 0 0% 98%; /* zinc-50 */+ --surface-sunken: 0 0% 99%; /* between white and zinc-50 */--surface-output: 240 4.8% 95.9%; /* zinc-100 */--popover: 0 0% 100%;@@ -488,7 +488,7 @@--json-value-nullish: var(--color-gray-500);--radius: 0.5rem;- --sidebar-background: 0 0% 100%;+ --sidebar-background: var(--surface-sunken);--sidebar-foreground: 240 5.3% 26.1%;--sidebar-primary: 240 5.9% 10%;--sidebar-primary-foreground: 0 0% 98%;@@ -562,7 +562,7 @@--icon-foreground: 0 0% 54%;--surface-code: 0 0% 2.3%;--surface-code-header: 0 0% 8.2%;- --surface-sunken: var(--modal);+ --surface-sunken: 0 0% 8%; /* one step below the modal */--surface-output: var(--popover);--popover: 0 0% 12%;@@ -707,7 +707,7 @@--radius: 0.5rem;- --sidebar-background: 0 0% 2%;+ --sidebar-background: 0 0% 4%; /* one step below the page */--sidebar-foreground: 0 0% 60%;--sidebar-primary: 0 0% 90%;--sidebar-primary-foreground: 0 0% 3.5%;