🪢 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): green and blue badge text meets contrast in light mode (#18482)
Trang Nguyenf445bcef34f9
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.mdindex 4cce8f91d5..ce2ae63bb8 100644--- a/CONTRIBUTING.md+++ b/CONTRIBUTING.md@@ -550,9 +550,9 @@ The background color of the following component will be `hsl(var(--primary))` an| --light-yellow | Light yellow for warning background | LevelColor || --dark-yellow | Dark yellow for warning text | LevelColor || --light-green | Light green for success status badge background | StatusBadge |-| --dark-green | Dark green for success status badge text and dot | StatusBadge |+| --dark-green | Dark green for success text, badge text and dots (emerald-800) | StatusBadge, Badge, Switch || --light-blue | Light blue for background of Staging label | LangfuseLogo |-| --dark-blue | Dark blue for text and border of Staging label | LangfuseLogo |+| --dark-blue | Dark blue for info text, links and badge text (blue-800) | StatusBadge, Badge, Alert || --accent-light-blue | Light blue accent for table link hover effect | TableLink || --accent-dark-blue | Dark blue accent for table link text | TableLink || --find-match-selected-background | Background color for selected search matches | CodeMirrorEditor |diff --git a/web/src/styles/globals.css b/web/src/styles/globals.cssindex 0bb37d82ee..ce912871dc 100644--- a/web/src/styles/globals.css+++ b/web/src/styles/globals.css@@ -458,10 +458,10 @@--dark-yellow: oklch(47.6% 0.114 61.907);--light-green: oklch(95% 0.052 163.051 / 0.7);- --dark-green: oklch(59.6% 0.145 163.225);+ --dark-green: oklch(43.2% 0.095 166.913);--light-blue: 214 94.6% 92.7%;- --dark-blue: 219 85% 52%;+ --dark-blue: 227.1 75.7% 41.1%;--accent-light-blue: 251 95.2% 91.8%;--accent-dark-blue: 224 76.3% 38%;