vercel / vercel/ai

Improve dark-theme contrast and interaction affordances in the devtools viewer

Open
#17,567 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

task-identify-issue-type-done
Dominant language
TypeScript
Stars
26.9k
Forks
5.2k
Avg merge
17h 48m
Merged PRs (30d)
516

Description

Background

The @ai-sdk/devtools viewer’s hardcoded dark palette has insufficient contrast, especially on information-dense traces. Grid lines and tooltips blend into surrounding surfaces, interactive controls resemble plain text, and expand/collapse controls appear on inconsistent sides of headers. These issues make traces unnecessarily slow to scan and manipulate.

Feature Request

Redesign the viewer’s dark theme with a higher-contrast palette that remains readable when large amounts of information are visible. Make grid lines clearly visible and give all interactive elements consistent, recognizable visual affordances. In particular, distinguish the “available tools” and “usage” controls from plain text. Standardize expand/collapse widgets on one side of headers throughout the viewer. Render tooltips with both a visible border and a background that is distinct from the page beneath them. This dark-theme improvement must be independently deliverable and must not depend on light-mode support.

Related Issues

Extracted from #16153

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the @ai-sdk/devtools viewer and its dark-theme palette, then inspect the grid lines, tooltips, available-tools and usage controls, and expand/collapse headers. Done means the dark theme is independently higher-contrast, interactive elements are recognizable, header widgets are consistent, and tooltips have distinct borders and backgrounds.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
design, devtools, frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.