🪢 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(topics): increase contrast of cluster labels on the topic map (#19427)
Nimar24902c008d42
diff --git a/web/src/features/topics/map/TopicMapExplorer.tsx b/web/src/features/topics/map/TopicMapExplorer.tsxindex 92c2205133..39e92dd6d0 100644--- a/web/src/features/topics/map/TopicMapExplorer.tsx+++ b/web/src/features/topics/map/TopicMapExplorer.tsx@@ -748,7 +748,7 @@ function MapBackgroundLabels({ store }: { store: TopicMapStore }) {)}style={{fontSize: label.fontSize,- color: `color-mix(in srgb, ${label.color} 35%, hsl(var(--muted-foreground)))`,+ color: `color-mix(in srgb, ${label.color} 35%, hsl(var(--foreground)))`,}}>{label.title}diff --git a/web/src/features/topics/map/prepare-topic-map.ts b/web/src/features/topics/map/prepare-topic-map.tsindex fd6c466216..c4b7480788 100644--- a/web/src/features/topics/map/prepare-topic-map.ts+++ b/web/src/features/topics/map/prepare-topic-map.ts@@ -462,7 +462,7 @@ export function prepareMapTextLabels(frame: TopicMapNodeFrame): MapTextLabel[] {fontSize,opacity:visibility *- (readingTopic && readingTopic !== zone.id ? 0.32 : 0.45) *+ (readingTopic && readingTopic !== zone.id ? 0.4 : 0.6) *(matchesFilters ? 1 : 0.15),detailOpacity,});