Skip to content

Add a JS token map for Devtools theming. - #1013

Merged
AbhinRustagi merged 13 commits into
mainfrom
abhin/devtools-stack-theme
Aug 20, 2026
Merged

Add a JS token map for Devtools theming.#1013
AbhinRustagi merged 13 commits into
mainfrom
abhin/devtools-stack-theme

Conversation

@AbhinRustagi

@AbhinRustagi AbhinRustagi commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Devtools chrome reads a JS token map (useTheme / useStyles)
  • Inspect restyle: cards, severity chips, settings menu, theme, and tray chrome

Stacked on #1019. Debug trays are #1006.

Test plan

  • Widget looks right in light (default) — toggle, drawer, quota card, stream row
  • Settings: auto-open, errors-only, and theme persist across reload
  • Error stacks expand on the same card
  • pnpm --filter @openuidev/devtools typecheck

@vercel

vercel Bot commented Aug 19, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
openui-docs Ready Ready Preview Aug 20, 2026 6:36pm

Request Review

@AbhinRustagi
AbhinRustagi marked this pull request as ready for review August 19, 2026 07:46
@AbhinRustagi
AbhinRustagi force-pushed the abhin/devtools-stack-theme branch 2 times, most recently from 1a11ada to 9f0b70b Compare August 19, 2026 08:40
@AbhinRustagi
AbhinRustagi force-pushed the abhin/devtools-stack-theme branch from 9f0b70b to 5ce5a97 Compare August 19, 2026 08:43
@AbhinRustagi
AbhinRustagi force-pushed the abhin/devtools-stack-theme branch from 087a7fb to f7dd351 Compare August 19, 2026 09:20
Base automatically changed from abhin/devtools-stack-libs to main August 19, 2026 10:15
@AbhinRustagi
AbhinRustagi force-pushed the abhin/devtools-stack-theme branch from f7dd351 to 41ee42a Compare August 19, 2026 10:15
@AbhinRustagi
AbhinRustagi force-pushed the abhin/devtools-stack-theme branch from 41ee42a to a7894f3 Compare August 19, 2026 10:50
@AbhinRustagi
AbhinRustagi changed the base branch from main to abhin/devtools-stack-library-id August 19, 2026 10:53
@AbhinRustagi AbhinRustagi mentioned this pull request Aug 19, 2026
3 tasks
@AbhinRustagi
AbhinRustagi force-pushed the abhin/devtools-stack-theme branch from ed5c07f to 3abf2e5 Compare August 19, 2026 12:41
abhithesys
abhithesys previously approved these changes Aug 20, 2026
Base automatically changed from abhin/devtools-stack-library-id to main August 20, 2026 17:57
@AbhinRustagi
AbhinRustagi force-pushed the abhin/devtools-stack-theme branch from 3e786d5 to a017a59 Compare August 20, 2026 17:57
@AbhinRustagi
AbhinRustagi dismissed abhithesys’s stale review August 20, 2026 18:13

The merge-base changed after approval.

@AbhinRustagi
AbhinRustagi force-pushed the abhin/devtools-stack-theme branch 2 times, most recently from 3e786d5 to 9cf8df0 Compare August 20, 2026 18:23
@pr3khar

pr3khar commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

Seems dubious

pr3khar
pr3khar previously approved these changes Aug 20, 2026
@AbhinRustagi
AbhinRustagi force-pushed the abhin/devtools-stack-theme branch from 3e786d5 to f58d2b4 Compare August 20, 2026 18:33
@AbhinRustagi
AbhinRustagi merged commit aba19bd into main Aug 20, 2026
4 checks passed
@AbhinRustagi
AbhinRustagi deleted the abhin/devtools-stack-theme branch August 20, 2026 18:45
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.

3 participants