tkent-google / std-switch

Explainer and demo for <std-switch>
77 stars 8 forks source link

Discuss how to enable platform-dependent appearance #6

Open tkent-google opened 5 years ago

tkent-google commented 5 years ago

<std-switch> will have a platform-independent appearance by default. We should provide an easy way to enable platform-dependent appearance.

tkent-google commented 5 years ago

Options:

We implemented the first option in the prototype. Because of the first problem, elements don't change their appearance even if --std-control-theme property is changed. We need to disconnect and connect elements from the document tree to apply new theme.

(Edited to drop specific theme names)