refactor(dashboard): add slim structural color tokens - #1632
Merged
Conversation
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>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Dashboard visual evidenceMode: path-selected Triggered by:
Gallery · Foundations · desktopGallery · Charts · desktopGallery · Transcripts · desktopComponent gallery index · desktopFull-page screenshots from the mock dashboard. Not a pixel-diff gate. |
dcramer
marked this pull request as ready for review
August 20, 2026 19:02
dcramer
approved these changes
Aug 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.




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
bg,bg-elevated,inkpanel,raised,hover,controltext,muted,subtle,faint,solid,inversesubtle, default,strong,emphasis,interactive,heavyfaint,soft,hover,strong,overlay-soft,overlayfocus(#beaaff).dashboard-shell-bg,color-schemehookConsumers in this PR
Button,TextInput,SearchInput,Card,StatusChip,Drawer,Tooltip,ProfileMenu, directory table/sort, loading/header chromeNot included
white/*/ chart hexChecks
pnpm --filter @sentry/junior-dashboard typecheckpnpm --filter @sentry/junior-dashboard lintAfter this lands, #1516 can close as superseded.
Requested by David Cramer.
--
View Junior Session in Sentry