diff --git a/ecosystem-explorer/index.html b/ecosystem-explorer/index.html index 0db3be48..db131ebc 100644 --- a/ecosystem-explorer/index.html +++ b/ecosystem-explorer/index.html @@ -7,6 +7,24 @@ OpenTelemetry Ecosystem Explorer +
diff --git a/ecosystem-explorer/src/components/icons/compass.tsx b/ecosystem-explorer/src/components/icons/compass.tsx index 2aebbcbc..9b75ec57 100644 --- a/ecosystem-explorer/src/components/icons/compass.tsx +++ b/ecosystem-explorer/src/components/icons/compass.tsx @@ -86,7 +86,7 @@ export function Compass({ className }: { className?: string }) { className="h-full w-full" style={{ filter: - "drop-shadow(0 0 8px hsl(var(--primary-hsl) / 0.4)) drop-shadow(0 0 16px hsl(var(--primary-hsl) / 0.2))", + "drop-shadow(0 0 8px hsl(var(--hero-accent-hsl) / 0.4)) drop-shadow(0 0 16px hsl(var(--hero-accent-hsl) / 0.2))", }} > {/* Outer ring */} @@ -95,7 +95,7 @@ export function Compass({ className }: { className?: string }) { cy="100" r="95" fill="none" - stroke="hsl(var(--primary-hsl))" + stroke="hsl(var(--hero-accent-hsl))" strokeWidth="1.5" opacity="0.4" /> @@ -104,7 +104,7 @@ export function Compass({ className }: { className?: string }) { cy="100" r="90" fill="none" - stroke="hsl(var(--primary-hsl))" + stroke="hsl(var(--hero-accent-hsl))" strokeWidth="0.5" opacity="0.2" /> @@ -122,7 +122,7 @@ export function Compass({ className }: { className?: string }) { y1={100 - innerR * Math.cos(angle)} x2={100 + outerR * Math.sin(angle)} y2={100 - outerR * Math.cos(angle)} - stroke="hsl(var(--primary-hsl))" + stroke="hsl(var(--hero-accent-hsl))" strokeWidth={isMajor ? 1.5 : 0.5} opacity={isMajor ? 0.7 : 0.3} /> @@ -140,7 +140,7 @@ export function Compass({ className }: { className?: string }) { y={100 - r * Math.cos(angle)} textAnchor="middle" dominantBaseline="middle" - fill="hsl(var(--primary-hsl))" + fill="hsl(var(--hero-accent-hsl))" className="font-mono text-sm font-bold" > {dir} @@ -151,18 +151,18 @@ export function Compass({ className }: { className?: string }) { {/* Rotating needle group */} {/* North needle */} - + {/* South needle */} {/* Center circle */} - - + + {/* Inner decorative circles */} @@ -50,7 +50,7 @@ export function ConfigurationIcon({ className }: { className?: string }) { y1="70" x2="135" y2="70" - stroke="hsl(var(--primary-hsl))" + stroke="hsl(var(--otel-orange-hsl))" strokeWidth="3" opacity="0.3" /> @@ -60,12 +60,12 @@ export function ConfigurationIcon({ className }: { className?: string }) { y1="70" x2="95" y2="70" - stroke="hsl(var(--primary-hsl))" + stroke="hsl(var(--otel-orange-hsl))" strokeWidth="3" opacity="0.8" /> {/* Knob */} - + @@ -76,7 +76,7 @@ export function ConfigurationIcon({ className }: { className?: string }) { y1="100" x2="135" y2="100" - stroke="hsl(var(--primary-hsl))" + stroke="hsl(var(--otel-orange-hsl))" strokeWidth="3" opacity="0.3" /> @@ -85,11 +85,11 @@ export function ConfigurationIcon({ className }: { className?: string }) { y1="100" x2="120" y2="100" - stroke="hsl(var(--primary-hsl))" + stroke="hsl(var(--otel-orange-hsl))" strokeWidth="3" opacity="0.8" /> - + @@ -100,7 +100,7 @@ export function ConfigurationIcon({ className }: { className?: string }) { y1="130" x2="135" y2="130" - stroke="hsl(var(--primary-hsl))" + stroke="hsl(var(--otel-orange-hsl))" strokeWidth="3" opacity="0.3" /> @@ -109,23 +109,30 @@ export function ConfigurationIcon({ className }: { className?: string }) { y1="130" x2="80" y2="130" - stroke="hsl(var(--primary-hsl))" + stroke="hsl(var(--otel-orange-hsl))" strokeWidth="3" opacity="0.8" /> - + {/* Gear icon accent in top-right */} - - + + {/* Gear teeth */} - - - - + + + + ); diff --git a/ecosystem-explorer/src/components/icons/java-icon.tsx b/ecosystem-explorer/src/components/icons/java-icon.tsx index dc2d2ad7..12b42ffb 100644 --- a/ecosystem-explorer/src/components/icons/java-icon.tsx +++ b/ecosystem-explorer/src/components/icons/java-icon.tsx @@ -25,7 +25,7 @@ export function JavaIcon({ className }: { className?: string }) { @@ -39,7 +39,7 @@ export function JavaIcon({ className }: { className?: string }) { {/* faint liquid tint behind the bars */} @@ -51,7 +51,7 @@ export function JavaIcon({ className }: { className?: string }) { y1="158" x2="138" y2="158" - stroke="hsl(var(--primary-hsl))" + stroke="hsl(var(--otel-orange-hsl))" strokeWidth="2" opacity="0.25" /> @@ -67,7 +67,7 @@ export function JavaIcon({ className }: { className?: string }) { y="132" width="10" height="26" - fill="hsl(var(--primary-hsl))" + fill="hsl(var(--otel-orange-hsl))" opacity="0.35" rx="2" /> @@ -76,7 +76,7 @@ export function JavaIcon({ className }: { className?: string }) { y="120" width="10" height="38" - fill="hsl(var(--primary-hsl))" + fill="hsl(var(--otel-orange-hsl))" opacity="0.45" rx="2" /> @@ -85,7 +85,7 @@ export function JavaIcon({ className }: { className?: string }) { y="140" width="10" height="18" - fill="hsl(var(--primary-hsl))" + fill="hsl(var(--otel-orange-hsl))" opacity="0.30" rx="2" /> @@ -94,7 +94,7 @@ export function JavaIcon({ className }: { className?: string }) { y="112" width="10" height="46" - fill="hsl(var(--primary-hsl))" + fill="hsl(var(--otel-orange-hsl))" opacity="0.55" rx="2" /> @@ -103,7 +103,7 @@ export function JavaIcon({ className }: { className?: string }) { y="126" width="10" height="32" - fill="hsl(var(--primary-hsl))" + fill="hsl(var(--otel-orange-hsl))" opacity="0.40" rx="2" /> @@ -116,7 +116,7 @@ export function JavaIcon({ className }: { className?: string }) { @@ -124,7 +124,7 @@ export function JavaIcon({ className }: { className?: string }) { {/* Central hub node */} - + - + {/* Top node */} - + @@ -59,16 +59,16 @@ export function JavaInstrumentationIcon({ className }: { className?: string }) { cy="65" r="15" fill="none" - stroke="hsl(var(--primary-hsl))" + stroke="hsl(var(--otel-orange-hsl))" strokeWidth="3" /> - + @@ -79,16 +79,16 @@ export function JavaInstrumentationIcon({ className }: { className?: string }) { cy="100" r="15" fill="none" - stroke="hsl(var(--primary-hsl))" + stroke="hsl(var(--otel-orange-hsl))" strokeWidth="3" /> - + @@ -99,16 +99,16 @@ export function JavaInstrumentationIcon({ className }: { className?: string }) { cy="135" r="15" fill="none" - stroke="hsl(var(--primary-hsl))" + stroke="hsl(var(--otel-orange-hsl))" strokeWidth="3" /> - + @@ -119,16 +119,16 @@ export function JavaInstrumentationIcon({ className }: { className?: string }) { cy="160" r="15" fill="none" - stroke="hsl(var(--primary-hsl))" + stroke="hsl(var(--otel-orange-hsl))" strokeWidth="3" /> - + @@ -139,16 +139,16 @@ export function JavaInstrumentationIcon({ className }: { className?: string }) { cy="135" r="15" fill="none" - stroke="hsl(var(--primary-hsl))" + stroke="hsl(var(--otel-orange-hsl))" strokeWidth="3" /> - + @@ -159,29 +159,36 @@ export function JavaInstrumentationIcon({ className }: { className?: string }) { cy="100" r="15" fill="none" - stroke="hsl(var(--primary-hsl))" + stroke="hsl(var(--otel-orange-hsl))" strokeWidth="3" /> - + {/* Top-left node */} - - + + diff --git a/ecosystem-explorer/src/components/icons/otel-logo.tsx b/ecosystem-explorer/src/components/icons/otel-logo.tsx index c7a51c90..b0dd933c 100644 --- a/ecosystem-explorer/src/components/icons/otel-logo.tsx +++ b/ecosystem-explorer/src/components/icons/otel-logo.tsx @@ -24,35 +24,35 @@ export function OtelLogo({ className }: { className?: string }) { > {/* Top-right circle with inner circle */} {/* Top-right diagonal section */} {/* Bottom-left small element */} {/* Top-left angular shape */} {/* Bottom angular shape */} diff --git a/ecosystem-explorer/src/components/icons/pipeline-icon.tsx b/ecosystem-explorer/src/components/icons/pipeline-icon.tsx index 5ba94277..d58ebca1 100644 --- a/ecosystem-explorer/src/components/icons/pipeline-icon.tsx +++ b/ecosystem-explorer/src/components/icons/pipeline-icon.tsx @@ -22,31 +22,45 @@ export function PipelineIcon({ className }: { className?: string }) { cy="100" r="15" fill="none" - stroke="hsl(var(--primary-hsl))" + stroke="hsl(var(--otel-orange-hsl))" strokeWidth="3" /> - + {/* Pipeline from input to processor */} - + {/* Arrow 1 */} - + {/* Processor node (hexagon) */} - + {/* Pipeline from processor to output */} - + {/* Arrow 2 */} - + {/* Output node (square) */} - + ); } diff --git a/ecosystem-explorer/src/components/ui/detail-card.tsx b/ecosystem-explorer/src/components/ui/detail-card.tsx index 2b66a7dc..4602f626 100644 --- a/ecosystem-explorer/src/components/ui/detail-card.tsx +++ b/ecosystem-explorer/src/components/ui/detail-card.tsx @@ -34,7 +34,7 @@ export function DetailCard({
diff --git a/ecosystem-explorer/src/components/ui/glow-badge.tsx b/ecosystem-explorer/src/components/ui/glow-badge.tsx index 596656c7..514a5788 100644 --- a/ecosystem-explorer/src/components/ui/glow-badge.tsx +++ b/ecosystem-explorer/src/components/ui/glow-badge.tsx @@ -25,9 +25,10 @@ interface GlowBadgeProps { } const variantStyles: Record = { + // TODO(#84 PR 4): rename variant or remap tokens — "primary" currently uses secondary tokens after the brand swap. primary: { - base: "bg-primary/10 border-primary/30 text-primary", - glow: "shadow-sm shadow-primary/20", + base: "bg-secondary/10 border-secondary/30 text-secondary", + glow: "shadow-sm shadow-secondary/20", }, success: { base: "bg-green-500/10 border-green-500/30 text-green-600 dark:text-green-400", diff --git a/ecosystem-explorer/src/components/ui/navigation-card.tsx b/ecosystem-explorer/src/components/ui/navigation-card.tsx index 4ae69f66..1f9274d7 100644 --- a/ecosystem-explorer/src/components/ui/navigation-card.tsx +++ b/ecosystem-explorer/src/components/ui/navigation-card.tsx @@ -30,7 +30,7 @@ export function NavigationCard({ title, description, href, icon }: NavigationCar return ( -
+
{/* Grid lines background */}
@@ -52,7 +52,7 @@ export function NavigationCard({ title, description, href, icon }: NavigationCar
{/* Icon on the left */}
-
+
{icon}
@@ -60,10 +60,10 @@ export function NavigationCard({ title, description, href, icon }: NavigationCar {/* Content on the right */}
-

+

{title}

- +

{description}

@@ -74,7 +74,7 @@ export function NavigationCard({ title, description, href, icon }: NavigationCar
diff --git a/ecosystem-explorer/src/components/ui/segmented-tabs.tsx b/ecosystem-explorer/src/components/ui/segmented-tabs.tsx index e9675a8b..45fd6007 100644 --- a/ecosystem-explorer/src/components/ui/segmented-tabs.tsx +++ b/ecosystem-explorer/src/components/ui/segmented-tabs.tsx @@ -67,7 +67,7 @@ export function SegmentedTabList({ tabs, value, fullWidth = false }: SegmentedTa > {/* Sliding pill */}