Skip to content

Improve light mode visual hierarchy and UI consistency across the Explorer#701

Open
Adii-45 wants to merge 3 commits into
open-telemetry:mainfrom
Adii-45:improve-light-mode-655
Open

Improve light mode visual hierarchy and UI consistency across the Explorer#701
Adii-45 wants to merge 3 commits into
open-telemetry:mainfrom
Adii-45:improve-light-mode-655

Conversation

@Adii-45

@Adii-45 Adii-45 commented Jun 16, 2026

Copy link
Copy Markdown

What changed

Fixes #655

This PR overhauls the light mode experience across the OpenTelemetry Ecosystem Explorer by improving visual hierarchy, surface separation, contrast, and styling consistency while preserving existing functionality and dark mode behavior.

Styling system updates

  • Introduced reusable theme-aware styling primitives for elevated surfaces:
    • bg-surface-card
    • shadow-surface
    • shadow-surface-hover
  • Added a shared text-gradient-brand utility and standardized branded page headings across the application.
  • Refined light-mode design tokens to use a layered slate-and-white appearance with improved contrast and readability.
  • Added dedicated code preview color tokens to ensure YAML previews remain readable in both themes.

Java Agent experience improvements

  • Reworked instrumentation cards into structured Header / Body / Footer layouts.
  • Improved organization of signals, tags, badges, and metadata.
  • Updated instrumentation group cards to match the new card structure.
  • Improved telemetry accordion sections with clearer active and expanded states.
  • Updated filter panels and search controls with elevated card styling.
  • Improved attribute table readability using theme-aware row striping.
  • Standardized page heading presentation across Java Agent pages.

Configuration Builder improvements

  • Refactored configuration fields into self-contained card layouts with clearer separation between metadata, controls, and values.
  • Improved instrumentation row organization and state visibility.
  • Enhanced preview panel presentation while preserving dark-terminal styling.
  • Updated navigation and configuration sidebar styling for improved discoverability and readability.

Collector and shared UI updates

  • Updated Collector landing pages and component explorer containers to use the new elevated surface system.
  • Improved detail cards and navigation cards with consistent hover behavior and surface separation.
  • Refined hero section visuals and light-mode background effects.
  • Improved header and footer boundary visibility.

Why

The previous light mode relied heavily on flat surfaces, translucent backgrounds, and strong orange accents, which reduced visual hierarchy and made dense content areas harder to scan.

This update introduces a more structured and modern light-mode design system that:

  • Improves readability for large data-heavy pages
  • Creates clearer separation between interactive surfaces
  • Standardizes heading and branding treatment
  • Preserves existing functionality and navigation behavior
  • Maintains full dark mode compatibility

How it was tested

  • Manual verification of all affected pages
  • Verified Java Agent explorer pages
  • Verified Configuration Options Explorer
  • Verified Configuration Builder
  • Verified Collector explorer pages
  • Typechecking passes
  • Linting passes
  • Existing test suite passes

Is this a breaking change?

No.

This PR only modifies visual presentation, styling tokens, layout structure, and theme behavior. No application logic, APIs, routing, or data handling were changed.

Special notes for your reviewer

  • Dark mode behavior remains unchanged.
  • Styling changes were implemented using semantic theme variables and shared utilities to minimize future maintenance.
  • No V1 redesign files were modified.
  • Changes are intentionally limited to presentation and UX improvements.

Screenshots

Checklist

  • Screenshots attached for UI changes
  • Tests pass locally
  • No breaking changes introduced

Copilot AI review requested due to automatic review settings June 16, 2026 05:45
@Adii-45 Adii-45 requested review from a team as code owners June 16, 2026 05:45
@netlify

netlify Bot commented Jun 16, 2026

Copy link
Copy Markdown

Deploy Preview for otel-ecosystem-explorer canceled.

Name Link
🔨 Latest commit c65ca27
🔍 Latest deploy log https://app.netlify.com/projects/otel-ecosystem-explorer/deploys/6a30ec09d0904e000808fb46

@linux-foundation-easycla

linux-foundation-easycla Bot commented Jun 16, 2026

Copy link
Copy Markdown

CLA Signed
The committers listed above are authorized under a signed CLA.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

This PR updates the app’s visual system to support more theme-aware surfaces (cards/shadows), consistent brand gradients, and always-dark code/terminal panes, then applies those tokens across Java Agent, Collector, Home, and shared UI components.

Changes:

  • Added new design tokens for surfaces/shadows, hero gradient/grid opacity, and code pane colors.
  • Introduced a reusable text-gradient-brand utility and replaced repeated gradient class strings.
  • Refreshed multiple cards/rows/sections to use the new surface + code tokens and updated light/dark text treatments.

Reviewed changes

Copilot reviewed 25 out of 25 changed files in this pull request and generated 7 comments.

Show a summary per file
File Description
ecosystem-explorer/src/styles/tokens.css Adds theme-aware surface/shadow/hero tokens and updates semantic color roles.
ecosystem-explorer/src/styles/index.css Exposes new CSS variables and introduces text-gradient-brand utility.
ecosystem-explorer/src/features/java-agent/styles/filter-styles.ts Adjusts active/inactive filter text colors for light/dark readability.
ecosystem-explorer/src/features/java-agent/java-instrumentation-list-page.tsx Uses text-gradient-brand for the page title accent.
ecosystem-explorer/src/features/java-agent/java-configuration-list-page.tsx Uses text-gradient-brand for the page title accent.
ecosystem-explorer/src/features/java-agent/java-agent-page.tsx Uses text-gradient-brand for the page title accent.
ecosystem-explorer/src/features/java-agent/instrumentation-detail-page.tsx Makes hero radial gradient use theme-swappable accent tokens.
ecosystem-explorer/src/features/java-agent/configuration/configuration-builder-page.tsx Uses text-gradient-brand for the page title accent.
ecosystem-explorer/src/features/java-agent/configuration/components/section-card-shell.tsx Moves section cards to bg-surface-card + shadow-surface.
ecosystem-explorer/src/features/java-agent/configuration/components/preview-card.tsx Switches preview/code blocks to bg-code-bg/text-code-fg and surface tokens.
ecosystem-explorer/src/features/java-agent/configuration/components/instrumentation-row.tsx Refactors row layout into header/body regions and applies surface tokens.
ecosystem-explorer/src/features/java-agent/configuration/components/instrumentation-config-field.tsx Refactors field layout into header/body regions and applies surface tokens.
ecosystem-explorer/src/features/java-agent/configuration/components/configuration-toc-sidebar.tsx Updates active/inactive link styling and search input to surface tokens.
ecosystem-explorer/src/features/java-agent/components/telemetry-section.tsx Updates expandable cards to surface tokens and adds header/body styling.
ecosystem-explorer/src/features/java-agent/components/multi-instrumentation-group-card.tsx Refactors card content regions and updates hover shadow token usage.
ecosystem-explorer/src/features/java-agent/components/instrumentation-filter-bar.tsx Uses surface tokens and hero accent tokens for background gradient.
ecosystem-explorer/src/features/java-agent/components/instrumentation-card.tsx Refactors card regions, adds hover affordance icon, and updates shadow token usage.
ecosystem-explorer/src/features/java-agent/components/attribute-table.tsx Updates table header/striping backgrounds to muted tokens.
ecosystem-explorer/src/features/home/components/hero-section.tsx Makes hero gradient/grid opacity configurable via CSS vars.
ecosystem-explorer/src/features/collector/collector-page.tsx Uses text-gradient-brand for the page title accent.
ecosystem-explorer/src/features/collector/collector-components-page.tsx Uses surface tokens for header card and text-gradient-brand for heading accent.
ecosystem-explorer/src/components/ui/navigation-card.tsx Uses surface tokens and hover shadow token.
ecosystem-explorer/src/components/ui/detail-card.tsx Uses surface tokens and hover shadow token.
ecosystem-explorer/src/components/layout/header.tsx Aligns border token usage with new border color.
ecosystem-explorer/src/components/layout/footer.tsx Aligns border token usage with new border color.

Comment thread ecosystem-explorer/src/styles/tokens.css
Comment on lines +62 to 64
@utility text-gradient-brand {
@apply from-otel-orange to-otel-blue bg-gradient-to-r bg-clip-text text-transparent;
}
Comment on lines +75 to +78
<div
className={`flex flex-col gap-3 border-b border-border/40 px-4 py-3 cursor-pointer sm:flex-row sm:items-center sm:justify-between ${headerBgClass}`}
onClick={onToggleExpand}
>
{displayName}
</h3>
<div className="bg-primary/5 -translate-x-2 flex h-8 w-8 flex-shrink-0 items-center justify-center rounded-full opacity-0 transition-all duration-300 group-hover:translate-x-0 group-hover:opacity-100">
<ArrowRight className="text-primary h-4 w-4" />
Comment on lines +89 to +91
<span className="text-muted-foreground/70 text-[10px] font-bold tracking-wider uppercase">
Signals
</span>
Comment on lines +99 to +101
<span className="text-muted-foreground/70 text-[10px] font-bold tracking-wider uppercase">
Tags
</span>
Comment on lines +97 to +99
<span className="text-muted-foreground/70 text-[10px] font-bold tracking-wider uppercase">
Signals
</span>
@Adii-45 Adii-45 force-pushed the improve-light-mode-655 branch from 017fe0b to c65ca27 Compare June 16, 2026 06:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Explorer] Improve light mode styling

2 participants