Ok I read

UITheme would act as a theme factory.
and each widget delegate to the Themer associated to themselve and the current 
theme

So subclasse of UITheme can propose different themer for the same widget.

Now since the themer is a separate class (from the morph it means that you must 
have all the hooks to customise it).
So why not.
I was also thinking that a widget could be an “abstract” class whose subclasses 
implement the themes.

Then you would create a widget like that 


SpolightItemMorph forThemer: UITheme blue
and it would create an instance of a subclas SpotligherBluerItemMorph.

Did you try this design?

Stef

Reply via email to