pharo-graphics / Toplo

A widget framework on top of Bloc
MIT License
17 stars 8 forks source link

Variant : Is it necessary #82

Closed Nyan11 closed 4 months ago

Nyan11 commented 6 months ago

Hello,

Why does Theme have "variants" ?

I think having variants make the code more complex.

Also in the examples, when you switch from light to dark, the program instantiate a new instance of ToTheme and install it to the space. It does not only changed the token on the fly.

plantec commented 4 months ago

not necessary.