Skip to content

refactor(dashboard): add slim structural color tokens - #1632

Merged
dcramer merged 1 commit into
mainfrom
feat/dashboard-slim-color-tokens
Aug 20, 2026
Merged

refactor(dashboard): add slim structural color tokens#1632
dcramer merged 1 commit into
mainfrom
feat/dashboard-slim-color-tokens

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

Add a small structural color role set and point kit plus shell surfaces at it.

This supersedes the approach in #1516. That PR mapped nearly every opacity step. This one keeps about 30 roles so authors pick by meaning, not by micro-opacity.

Tokens

  • Canvas: bg, bg-elevated, ink
  • Surface: panel, raised, hover, control
  • Text: text, muted, subtle, faint, solid, inverse
  • Border: subtle, default, strong, emphasis, interactive, heavy
  • Fill / overlay: faint, soft, hover, strong, overlay-soft, overlay
  • Focus brand: focus (#beaaff)
  • Shell helpers: grid line, scrollbar, .dashboard-shell-bg, color-scheme hook

Consumers in this PR

  • Kit: Button, TextInput, SearchInput, Card, StatusChip, Drawer, Tooltip, ProfileMenu, directory table/sort, loading/header chrome
  • Shell: SPA background class, SSR access/loading/error HTML, client error panel
  • Foundations gallery: color swatch fixture

Not included

  • Full page-by-page rewrite of remaining white/* / chart hex
  • Light theme values or theme toggle
  • Status accent retokenization (rose/cyan/emerald stay palette utilities)

Checks

  • pnpm --filter @sentry/junior-dashboard typecheck
  • pnpm --filter @sentry/junior-dashboard lint

After this lands, #1516 can close as superseded.

Requested by David Cramer.

--

View Junior Session in Sentry

Introduce a small dashboard color role set and point kit plus shell surfaces
at those tokens so structural styling stops depending on white/black opacity
ladders and hard-coded hex values.

Co-Authored-By: David Cramer <david@sentry.io>
@vercel

vercel Bot commented Aug 20, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
junior-docs Ready Ready Preview Aug 20, 2026 7:26am

Request Review

@github-actions

Copy link
Copy Markdown

Dashboard visual evidence

Mode: path-selected
Selected: gallery-foundations, gallery-charts, gallery-transcripts, gallery-index

Triggered by:

  • packages/junior-dashboard/src/app.ts
  • packages/junior-dashboard/src/client.tsx
  • packages/junior-dashboard/src/client/App.tsx
  • packages/junior-dashboard/src/client/components/Button.tsx
  • packages/junior-dashboard/src/client/components/ConversationList.tsx
  • packages/junior-dashboard/src/client/components/Drawer.tsx
  • packages/junior-dashboard/src/client/components/ImageAttachment.tsx
  • packages/junior-dashboard/src/client/components/LoadingView.tsx

Gallery · Foundations · desktop

Gallery · Foundations · desktop

Gallery · Charts · desktop

Gallery · Charts · desktop

Gallery · Transcripts · desktop

Gallery · Transcripts · desktop

Component gallery index · desktop

Component gallery index · desktop

Full-page screenshots from the mock dashboard. Not a pixel-diff gate.

@dcramer
dcramer marked this pull request as ready for review August 20, 2026 19:02
@github-actions github-actions Bot added the risk: high PR risk score: high label Aug 20, 2026
@dcramer
dcramer merged commit 69017f1 into main Aug 20, 2026
38 checks passed
@dcramer
dcramer deleted the feat/dashboard-slim-color-tokens branch August 20, 2026 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk: high PR risk score: high

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant