Skip to content

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

fix(ui): correct value for accent-foreground color (#5315)

Marc Klingen935aa20dda2a
diff --git a/web/src/components/editor/shared-theme.ts b/web/src/components/editor/shared-theme.ts
index ba62320944..75b5100592 100644
--- a/web/src/components/editor/shared-theme.ts
+++ b/web/src/components/editor/shared-theme.ts
@@ -10,8 +10,8 @@ export const defaultSettingsBothThemes: CreateThemeOptions["settings"] = {
gutterBorder: "hsl(var(--sidebar-border))",
gutterActiveForeground: "hsl(var(--sidebar-primary))",
selection: "hsl(var(--accent))",
- selectionMatch: "hsl(var(--accent-foreground))",
- lineHighlight: "hsl(var(--accent-foreground))",
+ selectionMatch: "hsl(var(--muted))",
+ lineHighlight: "hsl(var(--muted))",
};
export const bothThemeStyles: CreateThemeOptions["styles"] = [
diff --git a/web/src/styles/globals.css b/web/src/styles/globals.css
index 4512793091..e3744f9e92 100644
--- a/web/src/styles/globals.css
+++ b/web/src/styles/globals.css
@@ -26,7 +26,7 @@
--secondary-foreground: 222.2 47.4% 11.2%;
--accent: 210 40% 96.1%;
- --accent-foreground: 210 40% 98%;
+ --accent-foreground: 220 8.9% 46.1%;
--destructive: 0 84.2% 60.2%;
--destructive-foreground: 210 40% 98%;
@@ -92,7 +92,7 @@
--secondary-foreground: 210 40% 88%;
--accent: 217.2 32.6% 17.5%;
- --accent-foreground: ;
+ --accent-foreground: 210 20% 98%;
--destructive: 0 62.8% 30.6%;
--destructive-foreground: 0 85.7% 97.3%;