Fix/devtools preview host surface - #1010
Conversation
Greptile SummaryThe PR updates the devtools preview surface to follow light and dark theme tokens.
Confidence Score: 3/5The PR is not yet safe to merge because dark preview mode still recolors unrelated tool-panel borders through the shared border token. The scoped grid override fixes the grid itself, but Files Needing Attention: packages/devtools/src/index.css Reviews (2): Last reviewed commit: "Merge branch 'alpic-ai:main' into fix/de..." | Re-trigger Greptile |
… var for grid color in dark theme
|
Hi @Boj4ckk, thanks for your contribution! As the contributor guidelines state, we require that either Greptile gives your PR a 5/5, or that you respond to the issues it raised explaining why you disagree with its review. Also, since this is your first time contributing to the Skybridge repository, would you mind introducing yourself on our Discord? We'd love to get to know our contributors. |
Hey! Yes, I'm on it, thanks. I introduced myself in the #introductions Discord channel, btw |

Why
Closes #841
The dark mode toggle in devtools had no visual effect because
index.css was not using the dark-theme CSS variables.
What
in the preview component
--preview-surfacewhichresolves to the correct
--color-backgroundvalue based onthe active theme
The dark-theme colors were chosen without existing specs — happy
to adjust if needed.
Testing
Screenshots
Before → After