Skip to content

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

fix(web): body text to slate-800, add foreground-secondary token (#17485)

Trang Nguyenf4ad076da5ea
diff --git a/web/src/styles/globals.css b/web/src/styles/globals.css
index a1af6c32df..38740db624 100644
--- a/web/src/styles/globals.css
+++ b/web/src/styles/globals.css
@@ -69,6 +69,7 @@
--color-control-track: hsl(var(--control-track));
--color-control-border: hsl(var(--control-border));
--color-foreground-tertiary: hsl(var(--foreground-tertiary));
+ --color-foreground-secondary: hsl(var(--foreground-secondary));
--color-surface-code: hsl(var(--surface-code));
--color-surface-code-header: hsl(var(--surface-code-header));
--color-muted-magenta: hsl(var(--muted-magenta));
@@ -267,7 +268,7 @@
@layer base {
:root {
--background: 0 0% 100%;
- --foreground: 222.2 84% 4.9%;
+ --foreground: 217 33% 17%;
--muted: 210 40% 96.1%;
--muted-foreground: 215.4 16.3% 46.9%;
@@ -275,6 +276,9 @@
muted-foreground (langfuse.com/docs has the same 4th step). NOTE: ~2.8:1
on white — flagged in review, kept per design preference for now. */
--foreground-tertiary: 215 12% 62%;
+ /* Text between body and muted: slate-700. Content that is not a heading
+ and not a label, e.g. JSON values. */
+ --foreground-secondary: 215 25% 27%;
/* Code blocks sit a step BELOW their surrounding surface ("code is a
well"), matching the docs site's --surface-code convention. */
--surface-code: 0 0% 92%;
@@ -460,6 +464,7 @@
--muted: 0 0% 11.6%;
--muted-foreground: 0 0% 54%;
--foreground-tertiary: 0 0% 40%;
+ --foreground-secondary: 0 0% 62%;
--surface-code: 0 0% 2.3%;
--surface-code-header: 0 0% 8.2%;