Saving developer modifications


I am not a developer, but I am playing with the developer tools in Mailspring to change the formats of how my dark theme looks. Can someone tell me how to save the changes I make so I do not loose them each time I log in or out of Mailspring?


1 Like

There isn’t really a way to save those changes of DevTools, or I am unaware of a way, to directly save those customizations. You can see DevTools more as an experimentation lab. The thing is, the CSS you edit there may or may not reflect directly the classes defined in the theme files, but most likely not exactly. So the way to do that is to create a theme, by cloning an existing one. Then you modify it slowly, and see if when applied (loaded), it looks like you expected. DevTools will be a very useful tool in the process, of course. But your changes should be done on the actual files of the theme and not by patching the already loaded theme (which will by definition exist only during that session).

Well, on a google search I found this: Save your CSS changes right in the Google Chrome inspector - Rafal Tomal

Haven’t tried, and I am not sure it will work, but you can give this simple “Add folder to workspace” solution a try :sunglasses:

thank you - I will play with this. I also tried to make a new template but had a very hard time doing that…