ariatemplates/ariatemplates — pull request #123 by jakub-g (2012-08-31 08:44:42+00:00)
Title: CSS macro libraries

Currently, one can create template macro libraries (TMLs) to be used from within templates (TPLs) in order to extract reusable macros.

This pull request adds CSS macro libraries (CMLs) which work in the same fashion - to be invoked from CSS templates (TPL.CSS).

CMLs need to have a dual nature:
1) support capabilities of TMLs ($extends, $hasScript, $dependencies, $res + ability to nest the CMLs),
2) support capabilities of TPL.CSSes, like ability to write unescaped CSS statements.

This pull request also refactors class loaders by moving shared code to the parent class.