lundi 25 avril 2016

Switch stylesheets in an Ember CLI application

I'm creating an application using Ember CLI. The user should have the option to switch the theme.

There are two Less files (theme-one.less and theme-two.less), one for every theme.

I'm looking for the Ember-way to conditionally load either the 'theme one' or 'theme two' file. Is there an Ember-way, or should I manually update the href attribute of the CSS <link> element?




Aucun commentaire:

Enregistrer un commentaire