BrandSetting based on selected option

Hi! Is there a way to define different BrandSettings based on dropdown options?

For example, in theme.yaml, I have defined a dropdown with options: A, B, and C. Depending on the selected option, a set of brand settings will be used.

I need to change all the fields from the Brand tab and some fields of the Custom Palette

OC 3.4

(Deploy with backend brand settings · October CMS Tricks it doesn’t work for me)

You could potentially do this with a plugin. You would need to extend the theme backend settings controller to change the options on save. That would give you the most flexibility.

1 Like

Branding defaults can be set in the config/backend.php file.