aino/galleria — pull request #244 by jesstelford (2012-02-24 06:52:50+00:00)
Title: Multiple themes

This branch implements the ability to use multiple themes (one theme per gallery) when there are multiple galleries.

This should be a backward compatible update - all existing galleries (even those with multiple galleries per page) should still work correctly.

The basic premise of this functionality is to 'namespace' each theme's CSS file with an id by injecting the id into all rules in the file, and adding that id to the .galleria-container element.

Each theme has a unique id based on its name, allowing them to be specified as part of the options list (see documentation for 'theme' option).