-
Notifications
You must be signed in to change notification settings - Fork 245
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
React DevTools Theme #91
Comments
I'll give it a whirl but from what I remember of devtools plugins, any css written inside the plugin takes precedence. There's a good chance any of my changes will get overwritten by their stylesheet. I'll post my findings. |
So I got good news and bad news. Bad newsCSS inside an extension is totally walled off. Makes sense since extensions shouldn't be affected by other extensions. So any changes I make to my theme to support React won't work. Good newsIt can be themed if you're willing to put in some work.
NOTE: Anytime the React extension updates, all the steps above will be undone so you may want to save a copy you can paste back. Enjoy! |
This is cool. Is there any way to get this working by default in the React DevTools extension? Do we have to do anything? |
@sebmarkbage you could bundle the css from my theme with the extension. That would make it 'default'. But devtools users that use other themes or stock will have a disjointed experience. I guess you can't make everyone happy 😏 . Maybe implementing a css switch to toggle stock/this theme in the extension is a good medium. |
Awesome! That worked great - thanks for taking the time to figure this out and write up the steps. |
FYI... made this an injectable so you don't have to dig into the filesystem. https://gist.github.com/mauricecruz/f53c932961a04c01a096#file-zdm-react-devtools-md |
I found the way above doesn't work any more, so I hacked the react devtools packed chrome extension and re-design it into Tomorrow theme. https://github.com/dqisme/react-devtool-with-tomorrow-theme |
@dqisme awesome! Wonder if react devtools works with the native dark theme as well. |
@mauricecruz I looked into the extension package and the color is hard-coded in it. Facebook made devtools as inline styling for some React Native reason. so i think it doesn't work either. |
I would love it if there was support for the React DevTools panel that gets added by the React plugin.
This is what it looks like currently:

The text was updated successfully, but these errors were encountered: