emy.plugin.themeSwitcher.addTheme (function)
Add a theme in the DOM.
- title (string)
- link (string)
- setIt (true/false - optional, default is false)
It adds a new link element in the header with "title" parameter value as "title" attribute value, and "link" parameter value as "href" attribute value. It also adds/pushes "title" parameter value to themes array. If setIt is defined as true, setTheme() will be activated with it using this new theme.
You can use absolute url as "link" value, theme doesn't have to be in emy/themes folder (but it would be cleaner).
Ex: emy.plugin.themeSwitcher.addTheme('nokia', 'main.css');