QUESTION: Theme Studio or Templates?

When I’m building a site I like try and maintain consistency amongst the common UI elements of the site. To accomplish this I typical have a separate project where I create standard components with the desired settings. I then copy and paste them into my project as needed.

So I’m wondering why some elements cannot have generic settings that are established in the theme studio. Then when I drag an element into my project it is setup with these defaults. A perfect example is a button. If I could style a button in the theme studio I could then ensure some consistency when creating these elements. In places where I need the element to be different I can then edit the properties to suit.

I’m sure there are other elements that could benefit from the same approach.

Maybe I’m misunderstanding the role of the theme editor and something like this should be handled somewhere else. I’m merely interested in understand why these types of defaults cannot be setup somewhere in Elements. It seems it could be extremely useful.

Before someone reminds me about globals, I realize you could do this with a global, but that really does not have the same kind of convenience. Although it can certainly accomplish something similar. In fact, in my component project all of the elements are in fact globals so they can have there properties tweaked when pasted into my project.

Or is this how TEMPLATES will eventually be used. Where I can have a template button with all my properties and then just drag it into my project where needed. Not knowing anything about templates I’m grasping at straws here.

Maybe @dan can provide some insights as to the intended use of templates, besides the obvious. Would they be suitable for defining standard properties for components?

1 Like

I think what you’re describing here is a feature we’ve discussed internally called presets. Essentially, it’s a way of choosing between different sets of defaults for a single component. For example, on a Button you could choose between:

  • Square Button
  • Rounded Button
  • Buy Button

You’d also be able to save your own presets. Does this sounds like the feature you’re after?

1 Like

Yes, that sounds like exactly what I would like to see. Presets is also a great name for it.