ThemeFaves Extension 1.5.4

This utility allows you to save/lock any theme item color of your choice (more on that later), even through theme changes or reinstalls of Blender. Not to be confused with just saving your own themes. That’s not what this is. This is specifically designed to hold on to colors of things that you know you always want no matter the theme. So, if you want to go test a bunch of themes, go for it. You can load your favorite colors back in with one click.

I made this one with help from one of Bridget’s friends. We’ll call her Gidget. Gidget seemed a little better to work with in some aspects but it was nice to work with another AI in general.

To use

Install like any extension (only tested and used in 4.3.2)

You must add a path for your faves to be saved before doing anything. That’s all the power after all. I recommend a location outside of your blender paths/configs and whatnot. You need the file around if you nuke blender so I hope that’s obvious.

General Info

I have 22 elements to get you started.

All changes (colors, sorting, elements in general) are saved to the file in real-time so there’s no saving. Super care-free.

Click the refresh button when you change themes and all your faves are loaded from the file instantly.

If you uninstall the addon, all the colors stay as they are.

If you reinstall blender or the addon, go select the same path you used before and it’ll load all your faves again exactly as you left them, in order and all that.

Note that Gidget and I really tried to make it so if the element has alpha, it will be available. As far as I can tell, it seems to work for RGB and RGBA color settings. You may try to change the alpha of an element and nothing happens. That’ll be because blender doesn’t allow it for that element. So, alpha is always there even if it’s not going to affect the element color. Sort of a brute force method and I’m OK with that.

Adding Your Own Faves (if I can do it, trust me, you can do it)

I have a few things prepopulated to get you started.

To add your own, edit the py file. Near the top you’ll see the elements I thought were a good start for some favorites. You’ll also see the pattern of how they are added so be sure to see what’s going on. Whether it’s User Interface color item, or a 3D View color item. If you need to know what the path/code name is of a color, just right click it and go to the Online Python Reference. Just follow the provided formatting, and you’ll be golden.

The lines are pretty simple. It’s:

("path to element", "drop-down name", "description of element"), ← and comma

That’s it. You don’t need to do anything else but save, reinstall the extension, and pick the path again to your faves file to see your new elements in the drop-down to add.

Let me know if you run into problems.

themeFaves.py