JulianGaibler / atlas

Theme Manger for Figma
6 stars 4 forks source link

Handle hierarchical or multidimensional themes #10

Open uliluckas opened 2 years ago

uliluckas commented 2 years ago

Hi Julian, great work!

Here comes a feature request with a first idea as Draft PR.

The screens in our App have different brand themes. Both brands use day and night mode. In our palette we have some branded colors and some brand independent colors.

So or themes look like this (can be changed if a different approach makes more sense) Dark Dark/Brand1 Dark/Brand2 Light Light/Brand1 Light/Brand2

A typical screen would have the themes Dark and Dark/Brand1. Some screens might even have Dark, Dark/Brand1 and Dark/Brand2.

Now the primary goal is to make it possible to switch all Dark* themes at once by just switching from Dark to Light. This is what my PR does. This could also be solved non-hierarchically by also matching sub-themes. I.e. Switching Brand1 to Brand2 would then also work for switching Light/Brand1 and Dark/Brand1 to Light/Brand2 and Dark/Brand2. Of cause this does not make sense for Dark/Light themes but maybe for other multi dimensional themes.

Would be great if you let me know what you think.

Best regards, Uli

derochedesign commented 2 years ago

I brought up a similar feature request to this on the Figma plugins page. Would love to see this functionality as well!