This pull request implements the functionality I described in #26.
Essentially, it adds a new, optional init function, of the form PixateFreestyle.init(context, 'my_theme.css'). If the selected CSS file has already been applied, nothing happens, just like now. If no CSS has been applied, or if the init function is called with a different CSS file than the current one, the init process is run with the new file.
I'm using this in my own app, and it seems to be working fine.
This pull request implements the functionality I described in #26.
Essentially, it adds a new, optional init function, of the form
PixateFreestyle.init(context, 'my_theme.css')
. If the selected CSS file has already been applied, nothing happens, just like now. If no CSS has been applied, or if the init function is called with a different CSS file than the current one, the init process is run with the new file.I'm using this in my own app, and it seems to be working fine.